|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Reference to a local pose of a model. More...
#include <GREM/resource/Model.hpp>
Public Member Functions | |
| constexpr | operator PoseView () const noexcept |
| Get a read-only view over the pose. | |
| PoseReference | applyAnimation (const AnimationState &animationState) const |
| Add the influence of an animation state to the current pose. | |
Public Attributes | |
| Joint * | localJoints |
| Non-owning pointer to the current local joints of the pose. | |
| float * | localMorphTargetWeights |
| Non-owning pointer to the current local morph target weights of the pose. | |
Reference to a local pose of a model.
|
inlineconstexprnoexcept |
Get a read-only view over the pose.
| PoseReference grem::resource::Model::PoseReference::applyAnimation | ( | const AnimationState & | animationState | ) | const |
Add the influence of an animation state to the current pose.
| animationState | animation state to apply to the joints and morph target weights. |
| Joint* grem::resource::Model::PoseReference::localJoints |
Non-owning pointer to the current local joints of the pose.
| float* grem::resource::Model::PoseReference::localMorphTargetWeights |
Non-owning pointer to the current local morph target weights of the pose.