Enum MatchOrientation
The option of which object's orientation in the rig Unity matches with the destination after teleporting.
Namespace: UnityEngine.XR.Interaction.Toolkit
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
public enum MatchOrientation
Fields
Name | Description |
---|---|
None | After teleporting the XR Origin will not attempt to match any orientation. |
TargetUp | After teleporting the XR Origin will be positioned such that its up vector matches target up. |
TargetUpAndForward | After teleporting the XR Origin will be positioned such that its up and forward vectors match target up and forward, respectively. |
WorldSpaceUp | After teleporting the XR Origin will be positioned such that its up vector matches world space up. |