Directional Light
:::caution Experimental
This 3D feature is under development and the API may change without notice.
:::
A light that illuminates the entire scene from a single direction, like sunlight. Has no falloff with distance.
Library location
Library → 3D (Experimental) → Directional Light
Properties
Direction
Direction the light shines toward.
- Type:
Vector3 - Default:
(0, -1, 0) - Animatable: Yes
Shadow Distance (ShadowDistance)
Maximum distance from which shadows are sampled.
- Type:
float - Default:
50 - Animatable: Yes
- Range:
[1, 1000]
Shadow Map Size (ShadowMapSize)
Resolution of the shadow map (larger = sharper, costlier).
- Type:
float - Default:
20 - Animatable: Yes
- Range:
[1, 500]
Common properties
This object inherits from Light3D and exposes the common properties declared on its base classes.