Documentation

Unity Engine

Download Unity

Unity Engine

SetBoneWeights(int, in float3)

Sets bone weights using a float3 containing translation, rotation and scale weights.
Read time 1 minuteLast updated 4 hours ago

Definition

SetBoneWeights(int, float3)

public void SetBoneWeights(int index, in float3 weights)

Parameters

index

The index of the bone to set the weights of.

weights

The translation, rotation, and scale weights of the bone. Each value is clamped to the range from 0 to 1.