file: RaycastResult.aus

class: RaycastResult

[16:7] extends: FxObj

Wraps FXGL's RaycastResult (com.almasb.fxgl.physics.RaycastResult), the value returned by PhysicsWorld.raycast. Exposes the first non-ignored entity hit by the ray and the world-coordinate hit point. Both are optional — a miss returns RaycastResult.NONE.

Methods