#include <tree_body.hpp>
Inheritance diagram for irr::newton::TreeBody:
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 |
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
void irr::newton::TreeBody::serialize | ( | irr::core::stringc | file | ) |
save the tree body into a file. Use World::deserializeTreeBody() to load it
file | file name and path |