LightType

Enumeration that represents the different light types that can be used on the Light tile.

Values

Spot [0]The light is a cone-shaped spot light
Directional [1]The light is a directional light
Point [2]The light is a point light

Examples

local spotLight = LightType.Spot;

local directionalLight = LightType.Directional;

local pointLight = LightType.Point;