The SceneCollisionIndex
the exploder reads per-mesh world AABBs from. Any object
exposing getMeshAABB(mesh) is accepted — host code that
already maintains a collision index can pass it through;
standalone callers can spin one up with
new SceneCollisionIndex(scene).
OptionalinitialFactor?: numberInitial explode factor. Default 0.
OptionalmaxFactor?: numberSlider upper bound. Default 2 (twice the centre→mesh distance).
OptionalminFactor?: numberSlider lower bound. Default 0 (no displacement).
The Scene the exploder operates in. Used to read the coordinate system so the explode offset is applied in the SceneModel's local frame regardless of how the Scene and SceneModel coordinate systems relate.
The SceneModel whose meshes the exploder displaces away from the model centre. Read at rebuild time; later calls to setFactor replay the cached rest pose without re-walking the SceneModel.
Optionalstep?: numberSlider step. Default 0.05.
Construction parameters for SceneModelExploder.