TDME2
1.9.121
src
tdme
engine
subsystems
rendering
AnimationState.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
tdme/tdme.h
>
4
#include <
tdme/engine/model/fwd-tdme.h
>
5
#include <
tdme/engine/subsystems/rendering/fwd-tdme.h
>
6
7
using
tdme::engine::model::AnimationSetup
;
8
9
/**
10
* Animation state entity
11
* @author Andreas Drewke
12
* @version $Id$
13
*/
14
struct
tdme::engine::subsystems::rendering::AnimationState
final {
15
AnimationSetup
*
setup
{
nullptr
};
16
int64_t
endAtTime
{ -1LL };
17
int64_t
currentAtTime
{ -1LL };
18
int64_t
lastAtTime
{ -1LL };
19
bool
finished
{
true
};
20
float
time
{ -1LL };
21
float
speed
{ 1.0f };
22
};
tdme::engine::model::AnimationSetup
Animation setup.
Definition:
AnimationSetup.h:18
fwd-tdme.h
fwd-tdme.h
tdme::engine::subsystems::rendering::AnimationState
Animation state entity.
Definition:
AnimationState.h:14
tdme::engine::subsystems::rendering::AnimationState::endAtTime
int64_t endAtTime
Definition:
AnimationState.h:16
tdme::engine::subsystems::rendering::AnimationState::lastAtTime
int64_t lastAtTime
Definition:
AnimationState.h:18
tdme::engine::subsystems::rendering::AnimationState::currentAtTime
int64_t currentAtTime
Definition:
AnimationState.h:17
tdme::engine::subsystems::rendering::AnimationState::speed
float speed
Definition:
AnimationState.h:21
tdme::engine::subsystems::rendering::AnimationState::time
float time
Definition:
AnimationState.h:20
tdme::engine::subsystems::rendering::AnimationState::finished
bool finished
Definition:
AnimationState.h:19
tdme::engine::subsystems::rendering::AnimationState::setup
AnimationSetup * setup
Definition:
AnimationState.h:15
tdme.h
Generated by
1.9.3