AssimpAppNode
Engine/source/ts/assimp/assimpAppNode.h
Private Types
Parent
Public Friends
class
Protected Attributes
Parent node.
Transform at DefaultTime (Only Non-Dummy Nodes)
bool
Flag indicating whether the defaultNodeTransform is valid.
bool
True if this node's coordinate space is inverted (left handed)
Last transform lookup (getTransform) (Only Non-Dummy Nodes)
Time of the last transform lookup (getTransform)
Scene node transform converted to TorqueSpace (filled for ALL nodes)
Public Static Attributes
aiAnimation *
Private Functions
getAnimatedTransform(MatrixF & mat, F32 t, aiAnimation * animSeq)
getTransform(F32 time)
Public Functions
AssimpAppNode(const struct aiScene * scene, const struct aiNode * node, AssimpAppNode * parent)
bool
animatesTransform(const AppSequence * appSeq)
getNodeTransform(F32 time)
Get the world transform of the node at the specified time.
const char *
bool
Public Static Functions
assimpToTorqueMat(const aiMatrix4x4 & inAssimpMat, MatrixF & outMat)
convertMat(MatrixF & outMat)
aiNode *
findChildNodeByName(const char * nodeName, aiNode * rootNode)
Detailed Description
Private Types
typedef AppNode Parent
Public Friends
Protected Attributes
AssimpAppNode * appParent
Parent node.
MatrixF mDefaultNodeTransform
Transform at DefaultTime (Only Non-Dummy Nodes)
bool mDefaultTransformValid
Flag indicating whether the defaultNodeTransform is valid.
bool mInvertMeshes
True if this node's coordinate space is inverted (left handed)
MatrixF mLastTransform
Last transform lookup (getTransform) (Only Non-Dummy Nodes)
F32 mLastTransformTime
Time of the last transform lookup (getTransform)
const struct aiNode * mNode
Pointer to the assimp scene node.
MatrixF mNodeTransform
Scene node transform converted to TorqueSpace (filled for ALL nodes)
const struct aiScene * mScene
Public Static Attributes
aiAnimation * sActiveSequence
F32 sTimeMultiplier
Private Functions
buildChildList()
Reimplemented from: AppNode
buildMeshList()
Reimplemented from: AppNode
getAnimatedTransform(MatrixF & mat, F32 t, aiAnimation * animSeq)
getTransform(F32 time)
Public Functions
AssimpAppNode(const struct aiScene * scene, const struct aiNode * node, AssimpAppNode * parent)
~AssimpAppNode()
animatesTransform(const AppSequence * appSeq)
Reimplemented from: AppNode
getBool(const char * propName, bool & defaultVal)
Reimplemented from: AppNode
getFloat(const char * propName, F32 & defaultVal)
Reimplemented from: AppNode
getInt(const char * propName, S32 & defaultVal)
Reimplemented from: AppNode
getName()
Reimplemented from: AppNode
getNodeTransform(F32 time)
Reimplemented from: AppNode
getParentName()
Reimplemented from: AppNode
isEqual(AppNode * node)
Reimplemented from: AppNode
isParentRoot()
Reimplemented from: AppNode
Public Static Functions
assimpToTorqueMat(const aiMatrix4x4 & inAssimpMat, MatrixF & outMat)
convertMat(MatrixF & outMat)
findChildNodeByName(const char * nodeName, aiNode * rootNode)