docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetChanges

    GetChanges(XRTrackedImage, Allocator)

    Get the changes to the tracked images (added, updated, and removed) since the last call to this method.

    Declaration
    public abstract TrackableChanges<XRTrackedImage> GetChanges(XRTrackedImage defaultTrackedImage, Allocator allocator)
    Parameters
    Type Name Description
    XRTrackedImage defaultTrackedImage

    An XRTrackedImage populated with default values. The implementation should first fill arrays of added, updated, and removed with copies of this before copying in its own values. This guards against additional fields added to the XRTrackedImage in the future.

    Allocator allocator

    The allocator to use for the returned data.

    Returns
    Type Description
    TrackableChanges<XRTrackedImage>

    The set of changes to tracked images (added, updated, and removed) since the last call to this method.

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