Lightclass represents a light node in a world.
class Light : public Node
||Returns the specific type of a light.|
||Returns the base type of a light.|
Light(LightType type, LightType base);
||The type of the light source. See below for a list of possible types.|
||The base type of the light source. This should be |
Lightclass is the base class for all light nodes. The
typeparameter can be one of the following constants, and it is specified by the subclass's constructor.
||Infinite light with parallel rays and no attenuation.|
||Point light with omnidirectional rays and distance attenuation.|
||Point light with a projected cube texture.|
||Spot light with a projected 2D texture.|