Navigation
API > API/Plugins > API/Plugins/RigLogicLib > API/Plugins/RigLogicLib/GeometryWriter
Warnings * The joint indices must be stored in the same order as the weights they are associated with.
Description
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.
| Name | setSkinWeightsJointIndices |
| Type | function |
| Header File | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/dna/layers/GeometryWriter.h |
| Include Path | #include "dna/layers/GeometryWriter.h" |
void setSkinWeightsJointIndices
(
std::uint16_t meshIndex,
std::uint32_t vertexIndex,
const std::uint16_t * jointIndices,
std::uint16_t count
)
Parameters
| Name | Remarks |
|---|---|
| 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. |