An animated sprite, animated using spritesheet animation.
More...
#include <AtlasAnimationSprite.h>
|
PureResult | Create (StringId name, string const &filePath, gef::Vector2 const &spritePos, gef::Platform const &platform) override |
|
void | UpdateAnimation (float frameTime) override |
|
void | Render (gef::SpriteRenderer &renderer) const override |
|
ISpriteAnimator & | Animator () override |
|
Transform2d & | GetTransform () override |
|
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::ISpriteAnimator & | Animator ()=0 |
|
virtual Transform2d & | GetTransform ()=0 |
|
An animated sprite, animated using spritesheet animation.
◆ Animator()
ISpriteAnimator & AnimationSystem::Sprite::AtlasAnimationSprite::Animator |
( |
| ) |
|
|
inlineoverridevirtual |
◆ GetTransform()
Transform2d & AnimationSystem::Sprite::AtlasAnimationSprite::GetTransform |
( |
| ) |
|
|
inlineoverridevirtual |
◆ Render()
void AnimationSystem::Sprite::AtlasAnimationSprite::Render |
( |
gef::SpriteRenderer & |
renderer | ) |
const |
|
overridevirtual |
◆ UpdateAnimation()
void AnimationSystem::Sprite::AtlasAnimationSprite::UpdateAnimation |
( |
float |
frameTime | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files:
- C:/Users/Jay Bretherton/Documents/GitHub/418/Projects/animated_mesh/build/vs2017/AnimationSystemSprite/SpriteSheet/AtlasAnimationSprite.h
- C:/Users/Jay Bretherton/Documents/GitHub/418/Projects/animated_mesh/build/vs2017/AnimationSystemSprite/SpriteSheet/AtlasAnimationSprite.cpp