Struct TrackedDeviceModel | XR Interaction Toolkit | 0.0.6-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Struct TrackedDeviceModel

    Namespace: UnityEngine.XR.Interaction.Toolkit.UI
    Syntax
    public struct TrackedDeviceModel

    Constructors

    TrackedDeviceModel(Int32)

    Declaration
    public TrackedDeviceModel(int pointerId)
    Parameters
    Type Name Description
    Int32 pointerId

    Properties

    changedThisFrame

    Declaration
    public bool changedThisFrame { get; }
    Property Value
    Type Description
    Boolean

    maxRaycastDistance

    Declaration
    public float maxRaycastDistance { get; set; }
    Property Value
    Type Description
    Single

    orientation

    Declaration
    public Quaternion orientation { get; set; }
    Property Value
    Type Description
    Quaternion

    pointerId

    Declaration
    public int pointerId { get; }
    Property Value
    Type Description
    Int32

    position

    Declaration
    public Vector3 position { get; set; }
    Property Value
    Type Description
    Vector3

    select

    Declaration
    public bool select { get; set; }
    Property Value
    Type Description
    Boolean

    selectDelta

    Declaration
    public ButtonDeltaState selectDelta { get; }
    Property Value
    Type Description
    ButtonDeltaState

    Methods

    CopyFrom(TrackedDeviceEventData)

    Declaration
    public void CopyFrom(TrackedDeviceEventData eventData)
    Parameters
    Type Name Description
    TrackedDeviceEventData eventData

    CopyTo(TrackedDeviceEventData)

    Declaration
    public void CopyTo(TrackedDeviceEventData eventData)
    Parameters
    Type Name Description
    TrackedDeviceEventData eventData

    OnFrameFinished()

    Declaration
    public void OnFrameFinished()

    Reset()

    Declaration
    public void Reset()
    Back to top
    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