Options for raycast.

Hierarchy

  • RaycastOptions

Properties

layerMask?: number

Bitmask selecting which collision layers to test.

maxDistance?: number

Maximum distance to test along the ray.

timeoutMs?: number

Time to wait for the host result, in ms. Defaults to 5000.