EHS
AnimBone.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
ehs/EHS.h
"
4
#include "
ehs/Array.h
"
5
#include "
KeyFrame.h
"
6
7
namespace
ehs
8
{
9
class
EHS_LIB_IO
AnimBone
10
{
11
private
:
12
UInt_8
boneId;
13
Array<KeyFrame>
keyFrames;
14
15
public
:
16
AnimBone
();
17
18
AnimBone
(
const
UInt_8
boneId);
19
20
AnimBone
(
const
UInt_8
boneId,
const
UInt_64 size);
21
22
AnimBone
(
const
UInt_8
boneId,
Array<KeyFrame>
keyFrames);
23
24
AnimBone
(
AnimBone
&& anim)
noexcept
;
25
26
AnimBone
(
const
AnimBone
& anim);
27
28
AnimBone
& operator=(
AnimBone
&& anim)
noexcept
;
29
30
AnimBone
& operator=(
const
AnimBone
& anim);
31
32
UInt_8
GetBoneId()
const
;
33
34
Array<KeyFrame>
GetKeyFrames()
const
;
35
36
Array<KeyFrame>
& GetKeyFrames();
37
38
float
GetPrevAndNext(
KeyFrame
& prev,
KeyFrame
& next,
const
float
elapsed)
const
;
39
};
40
}
Array.h
EHS.h
KeyFrame.h
ehs::AnimBone
Definition:
AnimBone.h:10
ehs::Array
Definition:
Array.h:16
ehs::KeyFrame
Definition:
KeyFrame.h:13
ehs
Definition:
Anchor.h:6
ehs::UInt_8
unsigned char UInt_8
Definition:
Types.h:43
include
ehs
io
mdl
AnimBone.h
Generated by
1.9.4