GeometryWriter::setSkinWeightsValues

List of skin weights influencing the referenced vertex.

Windows
MacOS
Linux

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"

Syntax

void setSkinWeightsValues
(
    std::uint16_t meshIndex,
    std::uint32_t vertexIndex,
    const float * weights,
    std::uint16_t count
)

Remarks

The sum of weights must add up to 1.

Parameters

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss