Header menu logo Mibo

PointLight3D Type

Point light configuration for 3D scenes.

Record fields

Record Field Description

CastsShadows

Full Usage: CastsShadows

Field type: bool

Whether this point light casts shadows.

Pipeline-dependent: Not all rendering pipelines support shadow casting. Pipelines that don't support shadows will ignore this field. Check your pipeline's documentation for shadow support details.

Field type: bool

Color

Full Usage: Color

Field type: Color

Color of the point light.

Field type: Color

Falloff

Full Usage: Falloff

Field type: float32

Falloff curve exponent. 1.0 = linear, 2.0 = quadratic.

Field type: float32

Intensity

Full Usage: Intensity

Field type: float32

Brightness multiplier. 1.0 = full, 0.0 = off.

Field type: float32

Position

Full Usage: Position

Field type: Vector3

World-space position of the light.

Field type: Vector3

Radius

Full Usage: Radius

Field type: float32

Maximum radius of influence.

Field type: float32

ShadowBias

Full Usage: ShadowBias

Field type: float32 voption

Per-light shadow bias override. When None, uses the pipeline's global bias setting.

Pipeline-dependent: Only used by pipelines that support shadow casting. Adjust this value to fix shadow acne (too low) or peter-panning (too high). Typical range: 0.001 to 0.01.

Field type: float32 voption

ShadowDirection

Full Usage: ShadowDirection

Field type: Vector3 voption

Direction the single-face shadow map looks. When None, defaults to straight down (−Y) — the common case for ceiling-mounted lights.

Pipeline-dependent: Point-light shadows render a single face (not a 6-face cubemap). Set this to face toward the geometry that should receive shadows. For a wall sconce pointing along +X, use Vector3.UnitX. Any non-zero direction is safe — the pipeline normalizes internally and selects an up vector that isn't parallel to it. Ignored by pipelines that don't support point-light shadows.

Field type: Vector3 voption

Type something to start searching.