Public Attributes

DefaultLight Class Reference

This reference page is linked to from the following overview topics: Principal Light Classes.


Search for all occurrences

Detailed Description

Describes a default light.

An array of these default lights is passed into the method Renderer::Open().

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.

See also:
Class Renderer, Class Matrix3, Structure LightState.

#include <render.h>

Inheritance diagram for DefaultLight:
Inheritance graph
[legend]

List of all members.

Public Attributes

LightState  ls
  Describes the properties of the light.
Matrix3  tm
  The transformation of the light that controls its position in the scene.

Member Data Documentation

Describes the properties of the light.

The transformation of the light that controls its position in the scene.


DefaultLight DefaultLight DefaultLight DefaultLight DefaultLight DefaultLight DefaultLight DefaultLight DefaultLight DefaultLight
DefaultLight DefaultLight DefaultLight DefaultLight DefaultLight DefaultLight DefaultLight DefaultLight DefaultLight DefaultLight