Navigation
API > API/Plugins > API/Plugins/RigLogicLib > API/Plugins/RigLogicLib/dna > API/Plugins/RigLogicLib/dna/layers > API/Plugins/RigLogicLib/dna/layers/GeometryWriter
Warnings * The joint indices must be stored in the same order as the weights they are associated with.
References
| Module | RigLogicLib |
| Header | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/dna/layers/GeometryWriter.h |
| Include | #include "dna/layers/GeometryWriter.h" |
void setSkinWeightsJointIndices
&40;
std::uint16_t meshIndex,
std::uint32_t vertexIndex,
const std::uint16_t &42; jointIndices,
std::uint16_t count
&41;
Remarks
Both the mesh storage itself and it's joint index list storage will be implicitly resized (if needed) to provide storage for the number of meshes and/or joint index lists that are inferred from the specified indexes.
The joint indices must be stored in the same order as the weights they are associated with.
Parameters
| Name | Description |
|---|---|
| meshIndex | A mesh's position in the zero-indexed array of meshes. |
| vertexIndex | A position in the zero-indexed array of vertex positions. |
| jointIndices | The source address from which the joint indices are to be copied. |
| count | The number of joint indices to copy. |