XRMarkerSubsystem.GetChanges(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(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 NativeArray
s.
Returns
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
.