Anim 0.1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
AnimationSystem::Skeletal::SkeletonSprite Class Reference

An animated sprite, animated using skeletal animation. More...

#include <SkeletonSprite.h>

Inheritance diagram for AnimationSystem::Skeletal::SkeletonSprite:
Collaboration diagram for AnimationSystem::Skeletal::SkeletonSprite:

Public Member Functions

PureResult Create (StringId name, string const &filePath, gef::Vector2 const &spritePos, gef::Platform const &platform) override
 
void Render (gef::SpriteRenderer &spriteRenderer) const override
 
void UpdateAnimation (float frameTime) override
 
Sprite::ISpriteAnimatorAnimator () override
 
Transform2dGetTransform () override
 
- Public Member Functions inherited from AnimationSystem::IAnimatedSprite
virtual PureResult Create (gef::StringId name, string const &filePath, gef::Vector2 const &spritePos, gef::Platform const &platform)=0
 
ValueResult< unique_ptr< gef::Texture > > LoadTexture (string const &name, gef::Platform const &platform) const
 
virtual void Render (gef::SpriteRenderer &spriteRenderer) const =0
 
virtual void UpdateAnimation (float frameTime)=0
 
virtual Sprite::ISpriteAnimatorAnimator ()=0
 
virtual Transform2dGetTransform ()=0
 

Detailed Description

An animated sprite, animated using skeletal animation.

Member Function Documentation

◆ Animator()

Sprite::ISpriteAnimator & AnimationSystem::Skeletal::SkeletonSprite::Animator ( )
inlineoverridevirtual
Returns
This object's animator

Implements AnimationSystem::IAnimatedSprite.

◆ GetTransform()

Transform2d & AnimationSystem::Skeletal::SkeletonSprite::GetTransform ( )
inlineoverridevirtual

◆ Render()

void AnimationSystem::Skeletal::SkeletonSprite::Render ( gef::SpriteRenderer &  spriteRenderer) const
overridevirtual

◆ UpdateAnimation()

void AnimationSystem::Skeletal::SkeletonSprite::UpdateAnimation ( float  frameTime)
overridevirtual

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