Anim 0.1
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
AnimationSystem::Mesh::AnimatedMesh Class Reference

An animatable mesh object, a skinned mesh containing an animator. More...

#include <AnimatedMesh.h>

Inheritance diagram for AnimationSystem::Mesh::AnimatedMesh:
Collaboration diagram for AnimationSystem::Mesh::AnimatedMesh:

Public Member Functions

StringId ID () const override
 The ID of this object. More...
 
IMeshTreeAnimatorAnimator () const override
 
PureResult UpdateAnimation (float frameTime) override
 Update the animator. More...
 
void SetTransform (gef::Matrix44 const &transform) override
 Set position, rotation and scale of this object. More...
 
void RenderSelf (gef::Renderer3D &renderer3D) override
 Render the object. More...
 
gef::SkeletonPose const & GetBindPose () const
 
gef::SkinnedMeshInstance const & GetSkinnedMesh () const
 
StringId GetSkinnedNameID () const
 
virtual StringId ID () const =0
 The ID of this object. More...
 
virtual IMeshTreeAnimatorAnimator () const =0
 
virtual PureResult UpdateAnimation (float frameTime)=0
 Update the animator. More...
 
virtual void SetTransform (gef::Matrix44 const &matrix44)=0
 Set position, rotation and scale of this object. More...
 
virtual void RenderSelf (gef::Renderer3D &renderer3D)=0
 Render the object. More...
 

Friends

class AnimatedMeshFactory
 

Detailed Description

An animatable mesh object, a skinned mesh containing an animator.

Member Function Documentation

◆ Animator()

IMeshTreeAnimator & AnimationSystem::Mesh::AnimatedMesh::Animator ( ) const
inlineoverridevirtual
Returns
This object's animator

Implements AnimationSystem::Mesh::IAnimatedMesh.

◆ ID()

StringId AnimationSystem::Mesh::AnimatedMesh::ID ( ) const
inlineoverridevirtual

The ID of this object.

Implements AnimationSystem::Mesh::IAnimatedMesh.

◆ RenderSelf()

void AnimationSystem::Mesh::AnimatedMesh::RenderSelf ( gef::Renderer3D &  renderer3D)
overridevirtual

Render the object.

Parameters
renderer3DThe currently rendering renderer

Implements AnimationSystem::Mesh::IAnimatedMesh.

◆ SetTransform()

void AnimationSystem::Mesh::AnimatedMesh::SetTransform ( gef::Matrix44 const &  matrix44)
overridevirtual

Set position, rotation and scale of this object.

Implements AnimationSystem::Mesh::IAnimatedMesh.

◆ UpdateAnimation()

PureResult AnimationSystem::Mesh::AnimatedMesh::UpdateAnimation ( float  frameTime)
overridevirtual

Update the animator.

Returns
Any errors that may have occured during update

Implements AnimationSystem::Mesh::IAnimatedMesh.


The documentation for this class was generated from the following files: