Class DirectionalLight
Directional light emits light from direction in space.
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[ActorContextMenu("New/Lights/Directional Light")]
[ActorToolbox("Lights")]
[Unmanaged]
public class DirectionalLight : LightWithShadow, ISerializable
Constructors
DirectionalLight()
Properties
CascadeCount
The number of cascades used for slicing the range of depth covered by the light. Values are 1, 2 or 4 cascades; a typical scene uses 4 cascades.
Declaration
[EditorOrder(65)]
[Limit(1F, 4F, 1F)]
[EditorDisplay("Shadow", null)]
[Unmanaged]
public int CascadeCount { get; set; }
Property Value
System.Int32
|