MFModel.h File Reference

A set of functions for managing and rendering 3D models. More...


Functions

MFModelMFModel_Create (const char *pFilename)
 Creates a model from the filesystem.
MFModelMFModel_CreateWithAnimation (const char *pFilename, const char *pAnimationFilename)
 Creates a model from the filesystem.
void MFModel_Destroy (MFModel *pModel)
 Dstroy a model.
void MFModel_Draw (MFModel *pModel)
 Draw a model.
void MFModel_SetWorldMatrix (MFModel *pModel, const MFMatrix &worldMatrix)
 Set the model world matrix.
void MFModel_SetColour (MFModel *pModel, const MFVector &colour)
 Set the model colour.
const char * MFModel_GetName (MFModel *pModel)
 Get a models name.
int MFModel_GetNumSubObjects (MFModel *pModel)
 Get the number of subobjects.
int MFModel_GetSubObjectIndex (MFModel *pModel, const char *pSubobjectName)
 Get the index of a named subobject.
const char * MFModel_GetSubObjectName (MFModel *pModel, int index)
 Get the name of a specified subobject.
MFBoundingVolumeMFModel_GetBoundingVolume (MFModel *pModel)
 Get the models bounding volume.
MFMeshChunkMFModel_GetMeshChunk (MFModel *pModel, int subobjectIndex, int meshChunkIndex)
 Get an MFModel mesh chunk.
MFAnimationMFModel_GetAnimation (MFModel *pModel)
 Get a pointer to an MFAnimation associated with the model.
int MFModel_GetNumBones (MFModel *pModel)
 Get the number of bones in the model.
const char * MFModel_GetBoneName (MFModel *pModel, int boneIndex)
 Get the name of a bone.
const MFMatrixMFModel_GetBoneOrigin (MFModel *pModel, int boneIndex)
 Get a bones origin matrix.
int MFModel_GetBoneIndex (MFModel *pModel, const char *pName)
 Get the index of a bone by name.
int MFModel_GetNumTags (MFModel *pModel)
 Get the number of tags in the model.
const char * MFModel_GetTagName (MFModel *pModel, int tagIndex)
 Get the name of a tag.
const MFMatrixMFModel_GetTagMatrix (MFModel *pModel, int tagIndex)
 Get a tag matrix.
int MFModel_GetTagIndex (MFModel *pModel, const char *pName)
 Get the index of a tag by name.


Detailed Description

Author:
Manu Evans

Generated on Sat Oct 28 16:27:28 2006 for MountFuji Engine by  doxygen 1.4.5