irr::newton::TreeBody Class Reference

Class to management a body with a tree optimized collision. More...

#include <tree_body.hpp>

Inheritance diagram for irr::newton::TreeBody:

irr::newton::Body irr::newton::IrrNewt_Base List of all members.

Public Member Functions

void serialize (irr::core::stringc file)
 TreeBody (irr::newton::World *world, irr::scene::ISceneNode *node, irr::scene::IMesh *iMeshBase, bool terrain=false, bool deserialize=false, irr::core::stringc file="", irr::s32 LOD=3)
 ~TreeBody ()
 destructor

Detailed Description

Class to management a body with a tree optimized collision.


Constructor & Destructor Documentation

irr::newton::TreeBody::TreeBody ( irr::newton::World world,
irr::scene::ISceneNode *  node,
irr::scene::IMesh *  iMeshBase,
bool  terrain = false,
bool  deserialize = false,
irr::core::stringc  file = "",
irr::s32  LOD = 3 
)

constructor. don't call it directly. use World::createTreeBody() or World::deserializeTreeBody() to create a tree body

irr::newton::TreeBody::~TreeBody (  ) 

destructor


Member Function Documentation

void irr::newton::TreeBody::serialize ( irr::core::stringc  file  ) 

save the tree body into a file. Use World::deserializeTreeBody() to load it

Parameters:
file file name and path
Returns:
none


The documentation for this class was generated from the following file:
Generated on Fri Dec 15 16:58:33 2006 for IrrNewt by  doxygen 1.5.1-p1