Class AnimatedModelResourceFile

Inheritance Relationships

Base Type

Class Documentation

class AnimatedModelResourceFile : public ResourceFile

Representation of an animated 3D model file. Supports .dae files.

Public Functions

AnimatedModelResourceFile(AnimatedModelResourceFile&)
AnimatedModelResourceFile(AnimatedModelResourceFile&&)
~AnimatedModelResourceFile()
void reimport()

Reload the file buffer from disk.

Vector<Pair<Ref<AnimatedBasicMaterialResourceFile>, Vector<Mesh>>> &getMeshes()
HashMap<String, SkeletalAnimation> &getAnimations()
size_t getBoneCount() const
void setNodeHierarchy(aiNode *currentAiNode, Ptr<SkeletonNode> &currentNode)
void setAnimationTransforms(Ptr<SkeletonNode> &node, float currentTime, const String &animationName, const Matrix &parentModelTransform, float transitionTightness, RootExclusion rootExclusion, bool isRootFound)
Vector<String> getAnimationNames()
float getAnimationStartTime(const String &animationName) const
float getAnimationEndTime(const String &animationName) const
void getFinalTransforms(Vector<Matrix> &transforms, const String &animationName, float currentTime, float transitionTightness, RootExclusion rootExclusion)

Public Static Functions

static Matrix AiMatrixToMatrix(const aiMatrix4x4 &aiMatrix)