docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor XRTrackedObject

    XRTrackedObject(TrackableId, Pose, TrackingState, IntPtr, Guid)

    Constructs an XRTrackedObject.

    Declaration
    public XRTrackedObject(TrackableId trackableId, Pose pose, TrackingState trackingState, IntPtr nativePtr, Guid referenceObjectGuid)
    Parameters
    Type Name Description
    TrackableId trackableId

    The TrackableId associated with this tracked object.

    Pose pose

    The Pose of this tracked object.

    TrackingState trackingState

    The TrackingState of the tracked object.

    IntPtr nativePtr

    A native pointer associated with this tracked object. If not null, the object pointed to by this pointer should be valid at least until the next call to GetChanges(Allocator).

    Guid referenceObjectGuid

    The GUID of the reference object which was used to detect this tracked object.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, September 22, 2023