Model animation.
More...
#include <ModelAnimation.hpp>
|
| void | set (const ::ModelAnimation &model) |
| |
Model animation.
Definition at line 17 of file ModelAnimation.hpp.
◆ ModelAnimation() [1/2]
| raylib::ModelAnimation::ModelAnimation |
( |
const ::ModelAnimation & |
model | ) |
|
|
inline |
◆ ModelAnimation() [2/2]
◆ ~ModelAnimation()
| raylib::ModelAnimation::~ModelAnimation |
( |
| ) |
|
|
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 47 of file ModelAnimation.hpp.
◆ GetBones()
| ::BoneInfo * raylib::ModelAnimation::GetBones |
( |
| ) |
const |
|
inline |
Retrieves the bones value for the object.
- Returns
- The bones value of the object.
Definition at line 48 of file ModelAnimation.hpp.
◆ GetFrameCount()
| int raylib::ModelAnimation::GetFrameCount |
( |
| ) |
const |
|
inline |
Retrieves the frameCount value for the object.
- Returns
- The frameCount value of the object.
Definition at line 49 of file ModelAnimation.hpp.
◆ GetFramePoses()
| ::Transform ** raylib::ModelAnimation::GetFramePoses |
( |
| ) |
const |
|
inline |
Retrieves the framePoses value for the object.
- Returns
- The framePoses value of the object.
Definition at line 50 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_view |
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 47 of file ModelAnimation.hpp.
◆ SetBones()
| void raylib::ModelAnimation::SetBones |
( |
::BoneInfo * |
value | ) |
|
|
inline |
Sets the bones value for the object.
- Parameters
-
| value | The value of which to set bones to. |
Definition at line 48 of file ModelAnimation.hpp.
◆ SetFrameCount()
| void raylib::ModelAnimation::SetFrameCount |
( |
int |
value | ) |
|
|
inline |
Sets the frameCount value for the object.
- Parameters
-
| value | The value of which to set frameCount to. |
Definition at line 49 of file ModelAnimation.hpp.
◆ SetFramePoses()
| void raylib::ModelAnimation::SetFramePoses |
( |
::Transform ** |
value | ) |
|
|
inline |
Sets the framePoses value for the object.
- Parameters
-
| value | The value of which to set framePoses to. |
Definition at line 50 of file ModelAnimation.hpp.
◆ Unload()
| void raylib::ModelAnimation::Unload |
( |
| ) |
|
|
inline |
◆ Update()
| ModelAnimation & raylib::ModelAnimation::Update |
( |
const ::Model & |
model, |
|
|
int |
frame |
|
) |
| |
|
inline |
◆ UpdateBones()
| ModelAnimation & raylib::ModelAnimation::UpdateBones |
( |
const ::Model & |
model, |
|
|
int |
frame |
|
) |
| |
|
inline |
Update model animation mesh bone matrices (GPU skinning)
Definition at line 91 of file ModelAnimation.hpp.