#include <NodeOSG.h>
Public Member Functions | |
| void | SetCenter (const FPoint3 ¢er) |
| Set the location of the LOD's center. Distance from this center determines detail. | |
| void | GetCenter (FPoint3 ¢er) |
| 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 |
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.
1.8.4