docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.XR.Interaction.Toolkit.Locomotion.Teleportation
    Assembly: Unity.XR.Interaction.Toolkit.dll
    Syntax
    [MovedFrom("UnityEngine.XR.Interaction.Toolkit")]
    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
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)