Skip to main content

Function: add()

add(...object): Scene<Object3DEventMap>

Defined in: src/singletons.ts:95

A shortcut for core.scene.add(). Adds one or more objects to the scene.

Parameters​

object​

...Object3D<Object3DEventMap>[]

The object(s) to add.

Returns​

Scene<Object3DEventMap>

See​

THREE.Object3D.add