raycastCallback

fun raycastCallback(callback: (origin: FloatArray, direction: FloatArray) -> Float??): Manipulator.Builder

Raycasts the scene for accurate grab-and-pan: returns the distance along direction from origin where the ray hits, or null on a miss, which falls back to groundPlane. Called during grabBegin and raycast.