Function createPhysicsViewer
-
createPhysicsViewer(
scene: SceneContext,
world: PhysicsWorld,
options?: PhysicsViewerOptions,
): PhysicsViewerParameters
- scene: SceneContext
- world: PhysicsWorld
- options: PhysicsViewerOptions = {}
Returns PhysicsViewer
Creates a tree-shakable Physics V2 debug viewer for a scene/world pair.