Struct TeleportRequest
The Teleport Request that describes the result of the teleportation action. Each Teleportation Interactable must fill out a Teleport Request for each teleport action.
Inherited Members
Namespace: UnityEngine.XR.Interaction.Toolkit
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
public struct TeleportRequest
Fields
destinationPosition
The position in world space of the Teleportation Destination.
Declaration
public Vector3 destinationPosition
Field Value
Type | Description |
---|---|
Vector3 |
destinationRotation
The rotation in world space of the Teleportation Destination. This is used primarily for matching world rotations directly.
Declaration
public Quaternion destinationRotation
Field Value
Type | Description |
---|---|
Quaternion |
matchOrientation
The option of how to orient the rig after teleportation.
Declaration
public MatchOrientation matchOrientation
Field Value
Type | Description |
---|---|
MatchOrientation |
requestTime
The Time (in unix epoch) of the request.
Declaration
public float requestTime
Field Value
Type | Description |
---|---|
float |