docs.unity3d.com
    目次を表示する/隠す

    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
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)