- Cal3D 0.9 API Reference - |
#include <coremesh.h>
Public Methods | |
CalCoreMesh () | |
Constructs the core mesh instance. More... | |
virtual | ~CalCoreMesh () |
Destructs the core mesh instance. More... | |
int | addCoreSubmesh (CalCoreSubmesh *pCoreSubmesh) |
Adds a core submesh. More... | |
bool | create () |
Creates the core mesh instance. More... | |
void | destroy () |
Destroys the core mesh instance. More... | |
CalCoreSubmesh * | getCoreSubmesh (int id) |
Provides access to a core submesh. More... | |
int | getCoreSubmeshCount () |
Returns the number of core submeshes. More... | |
std::vector< CalCoreSubmesh * > & | getVectorCoreSubmesh () |
Returns the core submesh vector. More... | |
int | addAsMorphTarget (CalCoreMesh *pCoreMesh) |
Adds a core submesh. More... | |
Protected Attributes | |
std::vector< CalCoreSubmesh * > | m_vectorCoreSubmesh |
|
Constructs the core mesh instance. This function is the default constructor of the core mesh instance. |
|
Destructs the core mesh instance. This function is the destructor of the core mesh instance. |
|
Adds a core submesh. This function adds a core mesh as a blend target. It adds appropriate CalCoreSubMorphTargets to each of the core sub meshes.
|
|
Adds a core submesh. This function adds a core submesh to the core mesh instance.
|
|
Creates the core mesh instance. This function creates the core mesh instance.
|
|
Destroys the core mesh instance. This function destroys all data stored in the core mesh instance and frees all allocated memory. |
|
Provides access to a core submesh. This function returns the core submesh with the given ID.
|
|
Returns the number of core submeshes. This function returns the number of core submeshes in the core mesh instance.
|
|
Returns the core submesh vector. This function returns the vector that contains all core submeshes of the core mesh instance.
|