docs.unity3d.com
    Show / Hide Table of Contents

    Interface ITrackable

    Defines an interface for the structs associated with tracking subsystems.

    Namespace: UnityEngine.XR.ARSubsystems
    Syntax
    public interface ITrackable
    Remarks

    Subsystems that detect and track features in the environment, such as planes or images, follow a similar pattern and should use ITrackable for the structs defining their session relative data.

    Properties

    nativePtr

    The native pointer associated with this trackable.

    Declaration
    IntPtr nativePtr { get; }
    Property Value
    Type Description
    IntPtr

    pose

    The Pose associated with this trackable.

    Declaration
    Pose pose { get; }
    Property Value
    Type Description
    Pose

    trackableId

    The TrackableId associated with this trackable.

    Declaration
    TrackableId trackableId { get; }
    Property Value
    Type Description
    TrackableId

    trackingState

    The TrackingState associated with this trackable.

    Declaration
    TrackingState trackingState { get; }
    Property Value
    Type Description
    TrackingState
    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