Skip to content

Class: Testbed

Constructors

Constructor

new Testbed(): Testbed

Returns

Testbed

Methods

mount()

static mount(options?): TestbedInterface

Mounts testbed. Call start with a world to start simulation and rendering.

Parameters

options?

TestbedMountOptions

Returns

TestbedInterface


start()

static start(world): TestbedInterface

Mounts testbed if needed, then starts simulation and rendering.

If you need to customize testbed before starting, first run const testbed = Testbed.mount() and then testbed.start().

Parameters

world

World

Returns

TestbedInterface