![]() |
Public API Reference |
#include <meshobj.h>
Inheritance diagram for csMeshFactoryWrapper:
Public Methods | |
csMeshFactoryWrapper (iMeshObjectFactory *meshFact) | |
Constructor. More... | |
csMeshFactoryWrapper () | |
Constructor. More... | |
void | SetMeshObjectFactory (iMeshObjectFactory *meshFact) |
Set the mesh object factory. More... | |
iMeshObjectFactory * | GetMeshObjectFactory () const |
Get the mesh object factory. More... | |
iMeshWrapper * | NewMeshObject () |
Create a new mesh object for this template. More... | |
void | HardTransform (const csReversibleTransform &t) |
Do a hard transform of this factory. More... | |
void | PrepareChild (iMeshFactoryWrapper *child) |
This function is called for every child that is added. More... | |
void | UnprepareChild (iMeshFactoryWrapper *child) |
This function is called for every child that is removed. More... | |
csReversibleTransform & | GetTransform () |
Get optional relative transform (relative to parent). More... | |
void | SetTransform (const csReversibleTransform &tr) |
Set optional relative transform (relative to parent). More... |
Definition at line 810 of file meshobj.h.
|
Constructor.
|
|
Constructor.
|
|
Get the mesh object factory.
|
|
Get optional relative transform (relative to parent).
|
|
Do a hard transform of this factory. This transformation and the original coordinates are not remembered but the object space coordinates are directly computed (world space coordinates are set to the object space coordinates by this routine). Note that some implementations of mesh objects will not change the orientation of the object but only the position. |
|
Create a new mesh object for this template.
|
|
This function is called for every child that is added.
|
|
Set the mesh object factory.
|
|
Set optional relative transform (relative to parent).
|
|
This function is called for every child that is removed.
|