3#include <Core/Animation/HandleWeight.hpp>
4#include <Core/Animation/Pose.hpp>
5#include <Core/Animation/Skeleton.hpp>
6#include <Core/Geometry/TriangleMesh.hpp>
7#include <Core/RaCore.hpp>
hepler function to manage enum as underlying types in VariableSet
bool m_doSkinning
Whether skinning must be processed for the current frame.
Vector3Array m_currentTangent
The current mesh vertex tangent vectors.
uint m_frameCounter
The number of the current frame.
Vector3Array m_currentBitangent
The current mesh vertex bitangent vectors.
Skeleton m_skeleton
The animation skeleton in the current pose.
Vector3Array m_currentNormal
The current mesh vertex normals.
Vector3Array m_currentPosition
The current mesh vertex position.
bool m_doReset
Whether the skin must be reset to its initial reference configuration.
Skinning data that get set at startup including the "reference state".
WeightMatrix m_weightSTBS
The optional matrix of weights for STBS skinning.
Transform m_meshTransformInverse
The inverse of the mesh's transform.
Vector3Array m_CoR
The optionnal centers of rotations for CoR skinning.
Skeleton m_skeleton
The animation skeleton saved in rest pose.
WeightMatrix m_weights
The matrix of skinning weights.
AlignedStdVector< Transform > m_bindMatrices
The per-bone bind matrices.
Geometry::TriangleMesh m_referenceMesh
The mesh in reference position.