Partager via


XRMarkerSubsystem.GetChanges(Allocator) Method

Definition

Get the changes to markers (added, updated, and removed) since the last call to GetChanges(Allocator).

public override UnityEngine.XR.ARSubsystems.TrackableChanges<Microsoft.MixedReality.OpenXR.ARSubsystems.XRMarker> GetChanges (Unity.Collections.Allocator allocator);
override this.GetChanges : Unity.Collections.Allocator -> UnityEngine.XR.ARSubsystems.TrackableChanges<Microsoft.MixedReality.OpenXR.ARSubsystems.XRMarker>
Public Overrides Function GetChanges (allocator As Allocator) As TrackableChanges(Of XRMarker)

Parameters

allocator
Unity.Collections.Allocator

An Allocator to use when allocating the returned NativeArrays.

Returns

UnityEngine.XR.ARSubsystems.TrackableChanges<XRMarker>

UnityEngine.XR.ARSubsystems.TrackableChanges`1 that describes the markers that have been added, updated, and removed since the last call to GetChanges(Allocator). The caller owns the memory allocated with Allocator.

Applies to