ToWeightMask()
Creates a WeightMask from the WeightMaskBuilder data.
Read time 1 minuteLast updated 4 hours ago
Definition
- Type: Method
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
public BlobObjectReference<WeightMask> ToWeightMask()
Returns
Type | Description |
|---|---|
| BlobObjectReference<WeightMask> | The reference to the new WeightMask. You must dispose it. |
Remarks
The returned reference keeps the weight mask alive until you dispose it. Pass its BlobObjectReference<T>.Value to the methods that take a weight mask.