raycastAll method
Casts ray through the scene's render geometry and returns every hit,
sorted nearest-first. Parameters as in raycast.
Implementation
List<SceneRaycastHit> raycastAll(
Ray ray, {
double maxDistance = double.infinity,
int layerMask = 0xFFFFFFFF,
bool Function(Node node)? where,
bool includeInvisible = false,
}) => raycastNodeAll(
root,
ray,
maxDistance: maxDistance,
layerMask: layerMask,
where: where,
includeInvisible: includeInvisible,
);