Model animation.
More...
#include <ModelAnimation.hpp>
|
| void | set (const ::ModelAnimation &model) |
| |
Model animation.
Definition at line 15 of file ModelAnimation.hpp.
◆ ModelAnimation() [1/2]
| raylib::ModelAnimation::ModelAnimation |
( |
const ::ModelAnimation & |
model | ) |
|
|
inline |
◆ ModelAnimation() [2/2]
◆ ~ModelAnimation()
| raylib::ModelAnimation::~ModelAnimation |
( |
| ) |
|
|
inline |
◆ Blend()
| ModelAnimation & raylib::ModelAnimation::Blend |
( |
const ::Model & |
model, |
|
|
float |
frameA, |
|
|
const ::ModelAnimation & |
animB, |
|
|
float |
frameB, |
|
|
float |
blend |
|
) |
| |
|
inline |
◆ GetBoneCount()
| int raylib::ModelAnimation::GetBoneCount |
( |
| ) |
const |
|
inline |
Retrieves the boneCount value for the object.
- Returns
- The boneCount value of the object.
Definition at line 46 of file ModelAnimation.hpp.
◆ GetKeyframeCount()
| int raylib::ModelAnimation::GetKeyframeCount |
( |
| ) |
const |
|
inline |
Retrieves the keyframeCount value for the object.
- Returns
- The keyframeCount value of the object.
Definition at line 47 of file ModelAnimation.hpp.
◆ GetKeyframePoses()
| ::Transform ** raylib::ModelAnimation::GetKeyframePoses |
( |
| ) |
const |
|
inline |
Retrieves the keyframePoses value for the object.
- Returns
- The keyframePoses value of the object.
Definition at line 48 of file ModelAnimation.hpp.
◆ IsValid()
| bool raylib::ModelAnimation::IsValid |
( |
const ::Model & |
model | ) |
const |
|
inline |
◆ Load()
| static std::vector< ModelAnimation > raylib::ModelAnimation::Load |
( |
const std::string & |
fileName | ) |
|
|
inlinestatic |
◆ operator=() [1/2]
| ModelAnimation & raylib::ModelAnimation::operator= |
( |
const ::ModelAnimation & |
model | ) |
|
|
inline |
◆ operator=() [2/2]
◆ set()
| void raylib::ModelAnimation::set |
( |
const ::ModelAnimation & |
model | ) |
|
|
inlineprotected |
◆ SetBoneCount()
| void raylib::ModelAnimation::SetBoneCount |
( |
int |
value | ) |
|
|
inline |
Sets the boneCount value for the object.
- Parameters
-
| value | The value of which to set boneCount to. |
Definition at line 46 of file ModelAnimation.hpp.
◆ SetKeyframeCount()
| void raylib::ModelAnimation::SetKeyframeCount |
( |
int |
value | ) |
|
|
inline |
Sets the keyframeCount value for the object.
- Parameters
-
| value | The value of which to set keyframeCount to. |
Definition at line 47 of file ModelAnimation.hpp.
◆ SetKeyframePoses()
| void raylib::ModelAnimation::SetKeyframePoses |
( |
::Transform ** |
value | ) |
|
|
inline |
Sets the keyframePoses value for the object.
- Parameters
-
| value | The value of which to set keyframePoses to. |
Definition at line 48 of file ModelAnimation.hpp.
◆ Unload() [1/2]
| void raylib::ModelAnimation::Unload |
( |
| ) |
|
|
inline |
◆ Unload() [2/2]
| static void raylib::ModelAnimation::Unload |
( |
ModelAnimation * |
modelAnimation, |
|
|
int |
count |
|
) |
| |
|
inlinestatic |
◆ Update()
| ModelAnimation & raylib::ModelAnimation::Update |
( |
const ::Model & |
model, |
|
|
float |
frame |
|
) |
| |
|
inline |