XRMarkerSubsystem.Provider.GetChanges(XRMarker, Allocator) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the changes to markers (added, updated, and removed) since the last call to GetChanges(XRMarker, Allocator).
public abstract UnityEngine.XR.ARSubsystems.TrackableChanges<Microsoft.MixedReality.OpenXR.ARSubsystems.XRMarker> GetChanges (Microsoft.MixedReality.OpenXR.ARSubsystems.XRMarker defaultMarker, Unity.Collections.Allocator allocator);
abstract member GetChanges : Microsoft.MixedReality.OpenXR.ARSubsystems.XRMarker * Unity.Collections.Allocator -> UnityEngine.XR.ARSubsystems.TrackableChanges<Microsoft.MixedReality.OpenXR.ARSubsystems.XRMarker>
Public MustOverride Function GetChanges (defaultMarker As XRMarker, allocator As Allocator) As TrackableChanges(Of XRMarker)
Parameters
- defaultMarker
- XRMarker
The default marker. This should be used to initialize the returned NativeArray
s for backwards compatibility.
See UnityEngine.XR.ARSubsystems.TrackableChanges`1.#ctor(System.Void*,System.Int32,System.Void*,System.Int32,System.Void*,System.Int32,`0,System.Int32,Unity.Collections.Allocator).
- allocator
- Unity.Collections.Allocator
An Allocator
to use when allocating the returned NativeArray
s.
Returns
UnityEngine.XR.ARSubsystems.TrackableChanges`1 describing the markers that have been added, updated, and removed
since the last call to GetChanges(XRMarker, Allocator). The changes should be allocated using
allocator
.