AssimpAppMesh

Engine/source/ts/assimp/assimpAppMesh.h

More...

Private Types

Parent 

Protected Attributes

class AssimpAppNode *

Pointer to the node that owns this mesh.

const struct aiMesh *

Protected Static Attributes

The fixed detail size value for all geometry.

bool

Set to true to fix the detail size to a particular value for all geometry.

Public Functions

AssimpAppMesh(const struct aiMesh * mesh, AssimpAppNode * node)
bool
getBool(const char * propName, bool & defaultVal)

Get a boolean property value.

bool
getFloat(const char * propName, F32 & defaultVal)

Get a floating point property value.

bool
getInt(const char * propName, S32 & defaultVal)

Get an integer property value.

Get the transform of this mesh at a certain time.

const char *
getName(bool allowFixed)

Get the name of this mesh.

bool

Return true if this mesh is a skin.

lockMesh(F32 time, const MatrixF & objOffset)

Generate the vertex, normal and triangle data for the mesh.

Public Static Functions

fixDetailSize(bool fixed, S32 size)

Detailed Description

Private Types

typedef AppMesh Parent 

Protected Attributes

class AssimpAppNode * appNode 

Pointer to the node that owns this mesh.

bool mIsSkinMesh 
const struct aiMesh * mMeshData 

Protected Static Attributes

S32 fixedSize 

The fixed detail size value for all geometry.

bool fixedSizeEnabled 

Set to true to fix the detail size to a particular value for all geometry.

Public Functions

AssimpAppMesh(const struct aiMesh * mesh, AssimpAppNode * node)

~AssimpAppMesh()

getBool(const char * propName, bool & defaultVal)

Reimplemented from: AppMesh

getFloat(const char * propName, F32 & defaultVal)

Reimplemented from: AppMesh

getInt(const char * propName, S32 & defaultVal)

Reimplemented from: AppMesh

getMeshTransform(F32 time)

Reimplemented from: AppMesh

getName(bool allowFixed)

Reimplemented from: AppMesh

getVisValue(F32 t)

Reimplemented from: AppMesh

isSkin()

Reimplemented from: AppMesh

lockMesh(F32 time, const MatrixF & objOffset)

Reimplemented from: AppMesh

lookupSkinData()

Reimplemented from: AppMesh

Public Static Functions

fixDetailSize(bool fixed, S32 size)