ColladaAppMesh
Engine/source/ts/collada/colladaAppMesh.h
Private Types
Parent
Protected Attributes
class ColladaAppNode *
Pointer to the node that owns this mesh.
Map< StringTableEntry, U32 >
Local map of symbols to materials.
geometry extension
const domInstance_controller *
const domInstance_geometry *
Protected Static Attributes
bool
Set to true to fix the detail size to a particular value for all geometry.
Protected Functions
addMaterial(const char * symbol)
bool
checkGeometryType(const daeElement * element)
getPrimitives(const domGeometry * geometry)
Public Functions
ColladaAppMesh(const domInstance_controller * instance, ColladaAppNode * node)
ColladaAppMesh(const domInstance_geometry * instance, ColladaAppNode * node)
bool
animatesFrame(const AppSequence * appSeq)
Check if the mesh is animated.
bool
animatesMatFrame(const AppSequence * appSeq)
Check if the material used by this mesh is animated.
bool
animatesVis(const AppSequence * appSeq)
Check if the mesh visibility is animated.
getMeshTransform(F32 time)
Get the transform of this mesh at a certain time.
getVisValue(F32 time)
Get the visibility of this mesh at a certain time.
bool
isSkin()
Return true if this mesh is a skin.
Get the skin data: bones, vertex weights etc.
Public Static Functions
fixDetailSize(bool fixed, S32 size)
Detailed Description
Private Types
typedef AppMesh Parent
Protected Attributes
class ColladaAppNode * appNode
Pointer to the node that owns this mesh.
Map< StringTableEntry, U32 > boundMaterials
Local map of symbols to materials.
ColladaExtension_geometry * geomExt
geometry extension
const domInstance_controller * instanceCtrl
const domInstance_geometry * instanceGeom
Vector< VertTuple > vertTuples
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.
Protected Functions
addMaterial(const char * symbol)
checkGeometryType(const daeElement * element)
getMorph()
Get the morph controller for this mesh (if any)
getMorphVertexData(const domMorph * morph, F32 time, const MatrixF & objOffset, Vector< Point3F > & points, Vector< Point3F > & norms, Vector< ColorI > & colors, Vector< Point2F > & uvs, Vector< Point2F > & uv2s)
getPrimitives(const domGeometry * geometry)
getVertexData(const domGeometry * geometry, F32 time, const MatrixF & objOffset, Vector< Point3F > & points, Vector< Point3F > & norms, Vector< ColorI > & colors, Vector< Point2F > & uvs, Vector< Point2F > & uv2s, bool appendValues)
Public Functions
ColladaAppMesh(const domInstance_controller * instance, ColladaAppNode * node)
ColladaAppMesh(const domInstance_geometry * instance, ColladaAppNode * node)
~ColladaAppMesh()
animatesFrame(const AppSequence * appSeq)
Reimplemented from: AppMesh
animatesMatFrame(const AppSequence * appSeq)
Reimplemented from: AppMesh
animatesVis(const AppSequence * appSeq)
Reimplemented from: AppMesh
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 time)
Reimplemented from: AppMesh
isSkin()
Reimplemented from: AppMesh
lockMesh(F32 time, const MatrixF & objOffset)
Reimplemented from: AppMesh
lookupSkinData()
Reimplemented from: AppMesh