SetFloatMask(StringHash, float)
Sets the weight mask of a float channel.
Read time 1 minuteLast updated 4 hours ago
Definition
- Type: Method
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
public void SetFloatMask(StringHash id, float weight)
Parameters
Float channel ID.
The weight of the channel. Values are clamped between 0 and 1.