Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

LightType enumeration

Types of light contributors available in the 2D Radiance Cascades system.

public enum LightType

Values

namevaluedescription
Sky0Ambient light that illuminates the entire scene.
Directional1Light coming from a specific direction, similar to sunlight.
Line2Line segment light source that emits light along its length.
Circle3Circular light source that emits light in all directions.
Freeform4Custom light shape defined by multiple control points.
Sprite5Light source based on a sprite texture.

See Also