Loading [MathJax]/extensions/TeX/AMSmath.js
Radium Engine
1.5.0
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
c
d
f
g
i
l
m
n
o
p
q
r
s
t
v
Functions
a
c
d
f
g
i
l
n
o
p
q
r
s
t
v
Variables
Typedefs
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
b
d
f
h
i
m
n
s
t
v
w
Typedefs
a
b
c
f
g
i
k
o
r
s
t
u
v
Enumerations
Enumerator
Related Functions
Files
File List
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
SkeletonBasedAnimationSystem.hpp
1
#pragma once
2
3
#include <Engine/Scene/ItemEntry.hpp>
4
#include <Engine/Scene/System.hpp>
5
6
namespace
Ra
{
7
namespace
Engine {
8
namespace
Scene {
9
14
class
RA_ENGINE_API
SkeletonBasedAnimationSystem
:
public
System
15
{
16
public
:
18
SkeletonBasedAnimationSystem
();
19
20
~
SkeletonBasedAnimationSystem
();
21
22
SkeletonBasedAnimationSystem
(
const
SkeletonBasedAnimationSystem
& ) =
delete
;
23
SkeletonBasedAnimationSystem
& operator=(
const
SkeletonBasedAnimationSystem
& ) =
delete
;
24
27
29
void
generateTasks(
Core::TaskQueue
* taskQueue,
const
FrameInfo
& frameInfo )
override
;
30
32
void
handleAssetLoading(
Entity
* entity,
const
Core::Asset::FileData* fileData )
override
;
34
37
39
void
setXray(
bool
on );
40
42
bool
isXrayOn();
43
45
void
toggleSkeleton(
const
bool
status );
47
49
inline
void
enforceUpdate
() { m_time = -1; }
50
51
private
:
53
bool
m_xrayOn {
false
};
54
56
Scalar m_time { 0_ra };
57
};
58
59
}
// namespace Scene
60
}
// namespace Engine
61
}
// namespace Ra
Ra::Core::TaskQueue
Definition:
TaskQueue.hpp:32
Ra::Engine::Scene::Entity
An entity is an scene element. It ties together components with a transform.
Definition:
Entity.hpp:23
Ra::Engine::Scene::SkeletonBasedAnimationSystem
Definition:
SkeletonBasedAnimationSystem.hpp:15
Ra::Engine::Scene::SkeletonBasedAnimationSystem::enforceUpdate
void enforceUpdate()
Enforce Skeleton update at the next frame.
Definition:
SkeletonBasedAnimationSystem.hpp:49
Ra::Engine::Scene::System
Definition:
System.hpp:31
Ra
Definition:
Cage.cpp:3
Ra::Engine::FrameInfo
Structure passed to each system before they fill the task queue.
Definition:
FrameInfo.hpp:8
src
Engine
Scene
SkeletonBasedAnimationSystem.hpp
Generated on Wed Apr 5 2023 15:07:31 for Radium Engine by
1.9.1