Header menu logo Mibo

PointLight2D Type

A point light for 2D scenes with radius-based falloff.

Record fields

Record Field Description

CastsShadows

Full Usage: CastsShadows

Field type: bool

Whether this light casts shadows.

Field type: bool

Color

Full Usage: Color

Field type: Color

Light color.

Field type: Color

Falloff

Full Usage: Falloff

Field type: float32

Falloff exponent (higher = sharper edge).

Field type: float32

Intensity

Full Usage: Intensity

Field type: float32

Intensity multiplier.

Field type: float32

Position

Full Usage: Position

Field type: Vector2

World position of the light.

Field type: Vector2

Radius

Full Usage: Radius

Field type: float32

Radius beyond which the light contributes nothing.

Field type: float32

Type something to start searching.