
Public Member Functions | |
| void | Release () |
| virtual void | SetEnabled (bool bOn) |
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.
| 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.
1.5.7.1