Documentation

Unity Engine

Download Unity

Unity Engine

SetTranslationWeight(int, float)

Sets the weight of a specific translation.
Read time 1 minuteLast updated 4 hours ago

Definition

public void SetTranslationWeight(int index, float weight)

Parameters

index

The index of the translation to set the weight of.

weight

The weight to set. The value is clamped to the range from 0 to 1.