EHS
Animation.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
ehs/EHS.h
"
4
#include "
ehs/Str.h
"
5
#include "
ehs/Array.h
"
6
#include "
AnimBone.h
"
7
8
namespace
ehs
9
{
10
class
EHS_LIB_IO
Animation
11
{
12
private
:
13
UInt_64 hashId;
14
Str_8
id;
15
float
duration;
16
Array<AnimBone>
animated;
17
18
public
:
19
Animation
();
20
21
Animation
(
Str_8
id
,
const
float
duration);
22
23
Animation
(
Str_8
id
,
const
float
duration, UInt_64 size);
24
25
Animation
(
Str_8
id
,
const
float
duration,
Array<AnimBone>
animated);
26
27
Animation
(
Animation
&& anim)
noexcept
;
28
29
Animation
(
const
Animation
& anim);
30
31
Animation
& operator=(
Animation
&& anim)
noexcept
;
32
33
Animation
& operator=(
const
Animation
& anim);
34
35
UInt_64 GetHashId()
const
;
36
37
void
SetId(
Str_8
newId);
38
39
Str_8
GetId()
const
;
40
41
float
GetDuration()
const
;
42
43
Array<AnimBone>
GetAnimated()
const
;
44
45
Array<AnimBone>
& GetAnimated();
46
47
Array<Mat4_f>
Interpolate(
const
UInt_64 boneCount,
const
float
elapsed)
const
;
48
};
49
}
AnimBone.h
Array.h
EHS.h
Str.h
ehs::Animation
Definition:
Animation.h:11
ehs::Array
Definition:
Array.h:16
ehs::Str< Char_8, UInt_64 >
ehs
Definition:
Anchor.h:6
include
ehs
io
mdl
Animation.h
Generated by
1.9.4