Class DirectionalLight
Directional light emits light from direction in space.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[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
|