Header menu logo Mibo

SpotLight Type

Spot light (conical). Directional point light with inner/outer cone falloff.

Record fields

Record Field Description

Color

Full Usage: Color

Field type: Color

Light color. Multiplied with intensity for final contribution. Tinting can create mood effects (e.g., red for emergency lights).

Field type: Color

Direction

Full Usage: Direction

Field type: Vector3

Direction the spot is pointing (should be normalized). Points along the cone's central axis.

Field type: Vector3

InnerConeAngle

Full Usage: InnerConeAngle

Field type: float32

Inner cone angle (radians). Full intensity within this angle. Creates a bright, unblurred center region (hotspot). Use MathHelper.ToRadians(degrees) for degree values.

Field type: float32

Intensity

Full Usage: Intensity

Field type: float32

Peak intensity at the light source. Light attenuates toward zero at Range distance. Higher values = brighter, more concentrated light.

Field type: float32

OuterConeAngle

Full Usage: OuterConeAngle

Field type: float32

Outer cone angle (radians). Intensity fades to zero between Inner and Outer angles. Defines the full extent of the cone (penumbra). Should be larger than InnerConeAngle.

Field type: float32

Position

Full Usage: Position

Field type: Vector3

World position of light source (tip of the cone). Light direction and attenuation calculated from this point.

Field type: Vector3

Range

Full Usage: Range

Field type: float32

Maximum range of influence. Light attenuation falls to zero at this distance. Defines how far the spotlight cone extends.

Field type: float32

Shadow

Full Usage: Shadow

Field type: ShadowSettings voption

Shadow settings. Spot lights use standard 2D shadow maps (perspective projection).

Field type: ShadowSettings voption

SourceRadius

Full Usage: SourceRadius

Field type: float32

Physical radius of the light source.

Field type: float32

Type something to start searching.