Mount Fuji Engine  0.8b
Data Structures | Functions
Model Management

Data Structures

struct  MFModel
 Represents a Fuji model. More...
 

Functions

MF_API MFModelMFModel_Create (const char *pFilename)
 Creates a model from the filesystem. More...
 
MF_API MFModelMFModel_CreateWithAnimation (const char *pFilename, const char *pAnimationFilename=NULL)
 Creates a model from the filesystem. More...
 
MF_API void MFModel_Destroy (MFModel *pModel)
 Destroy a model. More...
 
MF_API void MFModel_SubmitGeometry (MFModel *pModel, MFRenderLayerSet *pLayerSet, const MFStateBlock *pMaterialOverride, const MFStateBlock *pView)
 Submit a model for rendering. More...
 
MF_API void MFModel_SetWorldMatrix (MFModel *pModel, const MFMatrix &worldMatrix)
 Set the model world matrix. More...
 
MF_API const char * MFModel_GetName (MFModel *pModel)
 Get a models name. More...
 
MF_API int MFModel_GetNumSubObjects (MFModel *pModel)
 Get the number of subobjects. More...
 
MF_API int MFModel_GetSubObjectIndex (MFModel *pModel, const char *pSubobjectName)
 Get the index of a named subobject. More...
 
MF_API const char * MFModel_GetSubObjectName (MFModel *pModel, int index)
 Get the name of a specified subobject. More...
 
MF_API void MFModel_EnableSubobject (MFModel *pModel, int index, bool enable)
 Enabe or disable a subobject. More...
 
MF_API bool MFModel_IsSubobjectEnabed (MFModel *pModel, int index)
 Find if a subobject is enabled. More...
 
MF_API MFBoundingVolumeMFModel_GetBoundingVolume (MFModel *pModel)
 Get the models bounding volume. More...
 
MF_API MFMeshChunk * MFModel_GetMeshChunk (MFModel *pModel, int subobjectIndex, int meshChunkIndex)
 Get an MFModel mesh chunk. More...
 
MF_API MFAnimationMFModel_GetAnimation (MFModel *pModel)
 Get a pointer to an MFAnimation associated with the model. More...
 
MF_API int MFModel_GetNumBones (MFModel *pModel)
 Get the number of bones in the model. More...
 
MF_API const char * MFModel_GetBoneName (MFModel *pModel, int boneIndex)
 Get the name of a bone. More...
 
MF_API const MFMatrixMFModel_GetBoneOrigin (MFModel *pModel, int boneIndex)
 Get a bones origin matrix. More...
 
MF_API int MFModel_GetBoneIndex (MFModel *pModel, const char *pName)
 Get the index of a bone by name. More...
 
MF_API int MFModel_GetNumTags (MFModel *pModel)
 Get the number of tags in the model. More...
 
MF_API const char * MFModel_GetTagName (MFModel *pModel, int tagIndex)
 Get the name of a tag. More...
 
MF_API const MFMatrixMFModel_GetTagMatrix (MFModel *pModel, int tagIndex)
 Get a tag matrix. More...
 
MF_API int MFModel_GetTagIndex (MFModel *pModel, const char *pName)
 Get the index of a tag by name. More...
 

Detailed Description