Method Raycast
Raycast(Ray, TrackableType, Allocator)
Implementation for the IRaycaster
interface. Raycasts against every point cloud.
Declaration
public NativeArray<XRRaycastHit> Raycast(Ray rayInSessionSpace, TrackableType trackableTypeMask, Allocator allocator)
Parameters
Type | Name | Description |
---|---|---|
Ray | rayInSessionSpace | A |
TrackableType | trackableTypeMask | The type of trackables to raycast against.
If |
Allocator | allocator | The allocator to use for the returned |
Returns
Type | Description |
---|---|
NativeArray<XRRaycastHit> | A new |