Method RayExtents
RayExtents(int)
Get the cast start and end points for the given ray index/
Declaration
public (Vector3 StartPositionWorld, Vector3 EndPositionWorld) RayExtents(int rayIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| int | rayIndex |
Returns
| Type | Description |
|---|---|
| (Vector3 StartPositionWorld, Vector3 EndPositionWorld) | A tuple of the start and end positions in world space. |