A callback class for ray casts in a world.

Constructor

new()

Default constructor.

Methods

process(shape:Shape, hit:RayCastHit):Void

This is called every time the world detects a shape shape that the ray intersects with the hit data hit.