Enum XRGeneralGrabTransformer.ConstrainedAxisDisplacementMode
Constrained Axis Displacement Mode
Namespace: UnityEngine.XR.Interaction.Toolkit.Transformers
Syntax
public enum ConstrainedAxisDisplacementMode
Fields
Name | Description | Value |
---|---|---|
ObjectRelative | Determines the permitted axes based on the initial object rotation in world space. |
0 |
ObjectRelativeWithLockedWorldUp | Determines the permitted axes based on the initial object rotation in world space, but also locks the up axis to be the world up. |
1 |
WorldAxisRelative | Uses the world axes to project all displacement against. |
2 |