vtLight Class Reference
[Scene Graph]

Inheritance diagram for vtLight:

Inheritance graph
[legend]

List of all members.

Public Member Functions

void Release ()
virtual void SetEnabled (bool bOn)


Detailed Description

A Light node is placed into the scene graph to illumninate all lit geometry with vertex normals.

If you want a light, you should create a vtLight node and add it to your scene graph. To move or orient the light, make it a child of a vtTransform node. The light will illuminate the entire scene.


Member Function Documentation

void vtLight::Release (  )  [virtual]

Releases a node. Use this method instead of C++'s delete operator when you are done with a node. Internally, the node is reference counted so it is not deleted until all references to it are removed.

Reimplemented from vtNode.

void vtLight::SetEnabled ( bool  bOn  )  [virtual]

Set the enabled state of this node. When the node is not enabled, it is not rendered. If it is a group node, all of the nodes children are also not rendered.

Reimplemented from vtNode.


Generated on Wed Dec 24 13:08:43 2008 for vtlib library by  doxygen 1.5.7.1