docs.unity.cn
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.ReferenceEquals(object, object)
    object.GetType()
    Namespace: UnityEngine.XR.Interaction.Toolkit
    Assembly: solution.dll
    Syntax
    public struct TeleportRequest

    Fields

    Name Description
    destinationPosition

    The position in world space of the Teleportation Destination.

    destinationRotation

    The rotation in world space of the Teleportation Destination. This is used primarily for matching world rotations directly.

    matchOrientation

    The option of how to orient the rig after teleportation.

    requestTime

    The Time (in unix epoch) of the request.

    In This Article
    Back to top
    Copyright © 2023 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)