DirectionalLight2D Type
A directional light (sun, moon) with parallel rays.
Record fields
| Record Field |
Description
|
Full Usage:
CastsShadows
Field type: bool
|
Whether this light should cast shadows.
|
Color of the light.
|
|
Normalized direction the light travels IN (not toward). E.g. (0.3, -0.7) for sun shining down-right.
|
|
Full Usage:
Intensity
Field type: float32
|
Brightness multiplier. 1.0 = full, 0.0 = off.
|
Mibo.Raylib