• RayCastOptions


collisionGroup?: CollisionGroup

Optionally specify a collision group to consider in the ray cast, default is All

maxDistance?: number

Optionally specify the maximum distance in pixels to ray cast, default is Infinity

searchAllColliders?: boolean

Optionally specify to search for all colliders that intersect the ray cast, not just the first which is the default