PointLight2D Type
A radial point light (torch, lamp, explosion).
Record fields
| Record Field |
Description
|
Full Usage:
CastsShadows
Field type: bool
|
Whether this light should cast shadows.
|
Color of the light.
|
|
Full Usage:
Falloff
Field type: float32
|
Falloff curve exponent. 1.0 = linear, 2.0 = quadratic.
|
Full Usage:
Intensity
Field type: float32
|
Brightness multiplier. 1.0 = full, 0.0 = off.
|
World-space position of the light source.
|
|
Full Usage:
Radius
Field type: float32
|
Maximum distance the light reaches in world units.
|
Mibo.Raylib