31 this->weight += rhs.
weight;
58 Eigen::Index vertexIndex);
63 const Eigen::Vector3<T>& locatorPosition,
70 std::tuple<size_t, T, Eigen::Vector3<T>>
next();
73 void checkInvariants();
SkinningWeightIteratorT(const Character &character, const MeshT< T > &restMesh, const SkeletonStateT< T > &skelState, Eigen::Index vertexIndex)
std::tuple< size_t, T, Eigen::Vector3< T > > next()
constexpr uint32_t kMaxSkinJoints
Maximum number of joints that can influence a single vertex.
bool operator>(const BoneWeightT< T > &rhs) const
bool operator<(const BoneWeightT< T > &rhs) const
Eigen::Vector3< T > weightedWorldSpacePoint
BoneWeightT< T > & operator+=(const BoneWeightT< T > &rhs)
A character model with skeletal structure, mesh, and optional components.
A generic mesh representation with support for vertices, faces, lines, and texture coordinates.
Represents the complete state of a skeleton.
A locator attached to multiple joints, with its runtime position determined by blending the skinning ...