Enum XRGeneralGrabTransformer.ConstrainedAxisDisplacementMode
Constrained Axis Displacement Mode
Namespace: UnityEngine.XR.Interaction.Toolkit.Transformers
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
public enum XRGeneralGrabTransformer.ConstrainedAxisDisplacementMode
Fields
Name | Description |
---|---|
ObjectRelative | Determines the permitted axes based on the initial object rotation in world space. |
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. |
WorldAxisRelative | Uses the world axes to project all displacement against. |