Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
vtLOD Class Reference

#include <NodeOSG.h>

Inheritance diagram for vtLOD:
NodeExtension vtPagedStructureLOD

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.
 
void SetOsgNode (osg::Node *n)
 

Additional Inherited Members

- Public Attributes inherited from NodeExtension
osg::Node * m_pNode
 
bool m_bCastShadow
 

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.


The documentation for this class was generated from the following files: