myLight.source in Anark Studio 2.5
Type of light.
- Property Type
- Number
Sets the type of light source to directional, point or spot. There are three valid values for this property:
0
— Directional; a directional light casts light in parallel rays, much like sunlight hitting the earth.1
— Point; a point light casts light in all directions from a single point. Because it emits light equally in all directions, any rotation setting is ignored for this light type.2
— Spot; a spot light casts a cone-shaped beam of light from a single point.