Method GetChanges
GetChanges(Allocator)
Gets a TrackableChanges<T> struct containing any changes to detected planes since the last
time you called this method. You are responsible to Dispose() the returned
TrackableChanges instance.
Declaration
public override TrackableChanges<BoundedPlane> GetChanges(Allocator allocator)
Parameters
| Type | Name | Description |
|---|---|---|
| Allocator | allocator | An |
Returns
| Type | Description |
|---|---|
| TrackableChanges<BoundedPlane> | The TrackableChanges<T>. |
Overrides
Remarks
The TrackableChanges<T> struct returned by this method contains separate
Unity.Collections.NativeArray<T> objects for the added, updated, and removed planes. These arrays are created
using the Unity.Collections.Allocator type specified by allocator.