Optional ReadonlycreateMakes a mesh's pose pass. Default new BvhPosePass(renderer, mesh).
Optional ReadonlydeformingWhich meshes are posed on the GPU each update. Default: with a renderer,
every SkinnedMesh and every mesh with position morph targets
(threeDeforms); without one, none. false reads every mesh in its rest pose.
Optional ReadonlydeformRoom added on every side of a posed mesh's top-level box, as a fraction of its largest extent, when the pose leaves the box (or the box grows to more than twice the pose's padded size). More room: fewer top-level updates, looser boxes. Default 0.25.
Optional ReadonlydeviceThe device for posed meshes' index buffers. Default: the renderer's.
Optional ReadonlyfilterWhich meshes to include. Default: every mesh.
Optional ReadonlylayersMap three's layers 0-7 to the instance mask (see the file comment). Default true; false: every instance 0xff.
Optional ReadonlymaterialThe material index (0-65534) of an instance's triangles, reported as BvhHit.material. Default: none.
Optional ReadonlymultiHow a multi-material mesh (an array of materials, with groups) becomes
meshes, the same in bvhSceneFromObject3D, SceneTreesObject3DSync
and BvhSceneRaycaster. 'triangles' (the default): one mesh and
instance holding every group, each triangle with its group's material
(triangleMaterials); its source's group and materialIndex are -1
(threeGroupOf and threeMaterialOf give a hit's). An
object whose instances give a group different materials falls back to
'groups'. 'groups': one mesh and instance per group, with the
group's material on the instance.
Optional ReadonlyrendererThe WebGPURenderer (initialized, on the SceneTrees' device) that runs
the pose passes of skinned and morphed meshes. Without it they are read
in their rest pose, as bvhSceneFromObject3D reads them.
Optional ReadonlystaticInstances that never move (TraceSceneInstance.static, for
mergeStaticInstances). true for all, or a function of the object and
instance (-1 for a plain mesh). Default false.
SceneTreesObject3DSync's options: the scene reader's, plus skinned and morphed meshes.