Optional ReadonlycontributesReadonlyinstanceThe platform instance index, returned in BvhHit.instance.
Optional ReadonlymaskThe instance mask, 0-255; defaults to 0xff, visible to every ray (see TraceInstance.mask).
Optional ReadonlymaterialThe material index (0-65534), reported as BvhHit.material; omit for
none (NO_MATERIAL). Not a merge-grouping key: a merged instance's
material travels in its triangles' flags (see TraceInstance.material).
ReadonlymeshPosition in the meshes array.
ReadonlyobjectOptional ReadonlystaticThe instance never moves. With mergeStaticInstances on (the default in buildTraceScene), a static
instance whose mesh no other instance uses is merged into a world-space
mesh with others of the same flags and mask (static-merge.ts). Ignored
otherwise. Default false.
Optional Readonlyvisible
One placed copy of one of the meshes passed to assembleTraceScene.