docs.unity.cn
    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
    UnityEngine.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 Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, May 22, 2023