docs.unity3d.com
    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.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: UnityEngine.XR.Interaction.Toolkit
    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
    Single
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023