vtlib library
Public Member Functions | List of all members
vtLOD Class Reference
Inheritance diagram for vtLOD:
Inheritance graph

Public Member Functions

void SetCenter (const FPoint3 &center)
 Set the location of the LOD's center. Distance from this center determines detail.
void GetCenter (FPoint3 &center)
 Get the location of the LOD's center.
- Public Member Functions inherited from NodeExtension
void SetEnabled (bool bOn)
bool GetEnabled () const
void SetCastShadow (bool b)
 Set this node to cast a shadow, if it is under a vtShadow node. Default is false.
bool GetCastShadow ()
 Get whether this node casts a shadow.
void GetBoundSphere (FSphere &sphere, bool bGlobal=false)
 Get the Bounding Sphere of the node.

Detailed Description

An LOD node controls the visibility of its child nodes.

You should set a distance range for each child, which determines at what distance from the camera the node should be rendered.