effect-motion
API ReferencethreeNamespacesSceneFunctions

clear

function clear(self): Scene;

Function: clear()

function clear(self): Scene;

Defined in: packages/three/src/Scene.ts:98

Detach every child from the scene root.

Parameters

ParameterType
selfScene

Returns

Scene

Remarks

Unparents only — see make on why this does not dispose anything.

On this page