Animatable skeleton pose.
More...
#include <animation-pose.hpp>
Animatable skeleton pose.
Definition at line 29 of file animation-pose.hpp.
◆ animation_pose() [1/2]
animation_pose::animation_pose |
( |
const skeleton & |
skeleton | ) |
|
|
explicit |
Constructs an animation pose.
- Parameters
-
skeleton | Skeleton with which to associate the animation pose. |
Definition at line 25 of file animation-pose.cpp.
◆ animation_pose() [2/2]
animation_pose::animation_pose |
( |
| ) |
|
|
defaultnoexcept |
Constructs an empty animation pose.
◆ get_matrix_palette()
const std::vector<bone_matrix_type>& animation_pose::get_matrix_palette |
( |
| ) |
const |
|
inlinenoexcept |
Returns the skinning matrix palette of the animation pose.
Definition at line 53 of file animation-pose.hpp.
◆ reset()
void animation_pose::reset |
( |
| ) |
|
Resets the animation pose to the skeleton's rest pose.
Definition at line 55 of file animation-pose.cpp.
◆ update() [1/3]
Updates the pose after one or more relative transforms have been changed.
Definition at line 47 of file pose.cpp.
◆ update() [2/3]
Updates a subset of the pose after one or more relative transforms have been changed.
- Parameters
-
first_index | Index of the first bone in the chain to update. |
bone_count | Number of bones in the chain to update. |
- Warning
- It's the caller's responsibility to ensure that any ancestors of the bone chain are up to date before the call, and any descendants are updated after the call.
Definition at line 57 of file pose.cpp.
◆ update() [3/3]
void animation_pose::update |
( |
bone_index_type |
first_index, |
|
|
std::size_t |
bone_count |
|
) |
| |
|
overridevirtual |
Updates a subset of the pose after one or more relative transforms have been changed.
- Parameters
-
first_index | Index of the first bone in the chain to update. |
bone_count | Number of bones in the chain to update. |
- Warning
- It's the caller's responsibility to ensure that any ancestors of the bone chain are up to date before the call, and any descendants are updated after the call.
Reimplemented from pose.
Definition at line 32 of file animation-pose.cpp.
The documentation for this class was generated from the following files: