ToRigDefinition()
Creates a RigDefinition from the current RigBuilder data.
Read time 1 minuteLast updated 4 hours ago
Definition
- Type: Method
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
public BlobObjectReference<RigDefinition> ToRigDefinition()
Returns
Type | Description |
|---|---|
| BlobObjectReference<RigDefinition> | The reference to the new RigDefinition. You must dispose it. |
Remarks
The returned reference keeps the rig definition alive until you dispose it. Pass its BlobObjectReference<T>.Value to the methods that take a rig definition, and store the reference itself in the jobs that use the rig.