Getting Started
Tutorials
Programming Guide
API References
Additional Resources
Contains properties of a light. More information can be found here.
Constructors
constructor()
Properties
color
position
space
type
type (LightType) –
space (LightSpace) –
position (Point3()) –
Point3()
color (Color()) –
Color()
Light()
The light’s color.
The light’s position in the scene. See LightType.Directional for information on how the position is interpreted for directional lights.
LightType.Directional
LightSpace
The space in which the light’s position is defined.
LightType
The light’s type.