Optional ReadonlyanyOptional ReadonlyqueriesAs traceModuleWgsl's queries: the module also has the spatial queries,
and BvhTraceNodes.closestPoint works. Default false (the walk alone).
Optional ReadonlyrayAs traceModuleWgsl's rayMasks. Default true: the *Masked helpers exist.
Optional ReadonlyshapecastAs traceModuleWgsl's shapecast: the caller's WGSL hooks, compiled into a bvhShapecast() in the module. Default none.
Optional ReadonlytriangleThe WGSL fn bvhTrianglePasses(candidate: BvhCandidate) -> bool; default: every triangle blocks (see traceModuleWgsl).
As
traceModuleWgsl'sanyHitOrder: the any-hit walk's child order. Default'far';'larger'for rays from outside the geometry.