FreeformBlendSpace2DMode
The freeform blend space algorithms that FreeformBlendSpace2DData supports.
Read time 1 minuteLast updated 3 hours ago
Definition
- Type: Enum
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
public enum FreeformBlendSpace2DMode
Remarks
Choose the mode that matches the layout of your animations, and pass it to the constructor of FreeformBlendSpace2DData. BlendSpaceUtility.ComputeBlendSpace2DFreeformWeights uses the same mode to compute the weights.
Additional Resources: FreeformBlendSpace2DData
Fields
Value | Description |
|---|---|
| Cartesian | Uses the position of the input in the plane to weight the animations, so the weight of an animation decreases with its distance from the input. |
| Directional | Uses the angle and the magnitude of the input to weight the animations, for example for locomotion with several speeds in each direction. |