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