raycast

fun raycast(x: Int, y: Int, result: FloatArray): Boolean

Given a viewport coordinate, picks a point into result (size ≥ 3): in the scene through Builder.raycastCallback, else in the ground plane.

Return

whether the ray hit