WeightMaskBuilder(Allocator, float, float)
WeightMaskBuilder constructor.
Read time 1 minuteLast updated 4 hours ago
Definition
- Type: Constructor
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
public WeightMaskBuilder(Allocator allocator, float defaultTransformWeight = 0, float defaultGenericWeight = 1)
Parameters
The allocator to use for the memory of the builder.
The weight of the transform channels that have no explicit mask. The value is clamped between 0 and 1. The default value is 0.
The weight of the float, integer, and entity ID channels that have no explicit mask. The value is clamped between 0 and 1. The default value is 1.