Documentation

Unity Engine

Download Unity

Unity Engine

SetTranslationMask(StringHash, float)

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

Definition

public void SetTranslationMask(StringHash id, float weight)

Parameters

Translation channel ID.

weight

The weight of the channel. Values are clamped between 0 and 1.