Navigation
API > API/Plugins > API/Plugins/RigLogicLib > API/Plugins/RigLogicLib/dna > API/Plugins/RigLogicLib/dna/layers > API/Plugins/RigLogicLib/dna/layers/GeometryWriter
Warnings * The sum of weights must add up to 1.
References
Module | RigLogicLib |
Header | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/dna/layers/GeometryWriter.h |
Include | #include "dna/layers/GeometryWriter.h" |
void setSkinWeightsValues
&40;
std::uint16_t meshIndex,
std::uint32_t vertexIndex,
const float &42; weights,
std::uint16_t count
&41;
Remarks
Both the mesh storage itself and it's skin weight storage will be implicitly resized (if needed) to provide storage for the number of meshes and/or skin-weight lists that are inferred from the specified indexes.
The sum of weights must add up to 1.
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. |
weights | The source address from which the weights are to be copied. |
count | The number of weights to copy. |