Warnings
The sum of weights must add up to 1.
Module |
|
Header |
/Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/dna/layers/GeometryWriter.h |
Include |
#include "dna/layers/GeometryWriter.h" |
void setSkinWeightsValues
(
std::uint16_t meshIndex,
std::uint32_t vertexIndex,
const float * weights,
std::uint16_t count
)
The sum of weights must add up to 1.
Parameter |
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. @note 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. |