Class DefaultLight
See Also: Class Renderer, Class Matrix3, Structure LightState.
class DefaultLight
Description:
This class describes a default light. An array of these default lights is passed into the method Renderer::Open().
Data Members:
public:f
LightState ls;
Describes the properties of the light.
Matrix3 tm;
This is the transformation of the light that controls its position in the scene.
Note: In 3ds max 3.0 the production renderer has been modified so that if a DefaultLight is passed into Renderer::Open() with a transformation matrix that is all zeros, the renderer will interpret this to mean that on each frame it should create a light located at the view point, pointing in the view direction. This allows the implementation of the new viewport 1-light option so that it tracks the camera during an animated camera move.