FromDefaultValues(ref RigDefinition)
Creates a read-only AnimationStream from the default values of a RigDefinition.
Read time 1 minuteLast updated 4 hours ago
Definition
- Type: Method
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
FromDefaultValues(RigDefinition)
public static AnimationStream FromDefaultValues(ref RigDefinition rig)
Parameters
The rig definition whose default values the stream views.
Returns
Type | Description |
|---|---|
| AnimationStream | A read-only AnimationStream that views the default values of |
Remarks
The stream reads the default values that are stored in . It doesn't allocate or copy them. Use AnimationStream.Create when you need default values that you can write to.
rig