Method GetChanges
GetChanges(XRRaycast, Allocator)
Get the changes to raycasts (arrays of added, updated, and removed) since the last call to this method.
Declaration
public virtual TrackableChanges<XRRaycast> GetChanges(XRRaycast defaultRaycast, Allocator allocator)
Parameters
Type | Name | Description |
---|---|---|
XRRaycast | defaultRaycast | A default value for XRRaycasts. For backwards compatibility, this should be used to initialize the returned NativeArrays. |
Allocator | allocator | The Allocator to use when allocating the returned NativeArrays. |
Returns
Type | Description |
---|---|
TrackableChanges<XRRaycast> | Arrays of added, updated, and removed raycasts since the last call to this method. The
changes should be allocated using |