RayCast.getCollider

Returns the first object that the ray intersects, or null if no object is intersecting the ray (i.e. isColliding returns false).

struct RayCast
@nogc nothrow const
getCollider
()

Meta