Public Member Functions | |
OctTreeComponent (Entity *parent, const std::string &fileName, s32 minPolysPerNode=256) | |
Constructor. | |
OctTreeComponent (Entity *parent, IMesh *mesh, s32 minPolysPerNode=256) | |
Constructor. | |
OctTreeComponent (Entity *parent, IAnimatedMesh *mesh, s32 minPolysPerNode=512) | |
Constructor. | |
~OctTreeComponent () | |
Deconstructor. | |
Static Public Member Functions | |
static OctTreeComponent * | refFactory (Entity *parent, const std::string &fileName, s32 minPolysPerNode) |
Will be used to instanciate objects of this class. |
Definition at line 26 of file OctTreeComponent.h.
OctTreeComponent::OctTreeComponent | ( | Entity * | parent, | |
const std::string & | fileName, | |||
s32 | minPolysPerNode = 256 | |||
) |
Constructor.
parent | The parent entity to which the component should be added. | |
fileName | Filename of the mesh to load. | |
minPolysPerNode | Specifies the minimal polygons contained a octree node. If a node gets less polys than this value it will not be split into smaller nodes. |
Definition at line 24 of file OctTreeComponent.cpp.
OctTreeComponent::OctTreeComponent | ( | Entity * | parent, | |
IMesh * | mesh, | |||
s32 | minPolysPerNode = 256 | |||
) |
Constructor.
parent | The parent entity to which the component should be added. | |
mesh | Pointer to the loaded animated mesh to be displayed. | |
minPolysPerNode | Specifies the minimal polygons contained a octree node. If a node gets less polys than this value it will not be split into smaller nodes. |
Definition at line 41 of file OctTreeComponent.cpp.
OctTreeComponent::OctTreeComponent | ( | Entity * | parent, | |
IAnimatedMesh * | mesh, | |||
s32 | minPolysPerNode = 512 | |||
) |
Constructor.
parent | The parent entity to which the component should be added. | |
mesh | Pointer to the loaded animated mesh to be displayed. | |
minPolysPerNode | Specifies the minimal polygons contained a octree node. If a node gets less polys than this value it will not be split into smaller nodes. |
Definition at line 57 of file OctTreeComponent.cpp.
OctTreeComponent::~OctTreeComponent | ( | ) |
OctTreeComponent * OctTreeComponent::refFactory | ( | Entity * | parent, | |
const std::string & | fileName, | |||
s32 | minPolysPerNode | |||
) | [static] |
Will be used to instanciate objects of this class.
Definition at line 78 of file OctTreeComponent.cpp.