effect-motion
API ReferencethreeNamespacesSceneVariables

make

const make: (...args) => Effect<Scene, never, Scope>;

Variable: make

const make: (...args) => Effect<Scene, never, Scope>;

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

A scoped scene that detaches its children when the scope closes.

Parameters

ParameterType
...args[]

Returns

Effect<Scene, never, Scope>

Remarks

Detaching is NOT disposal. A scene does not own the geometries, materials, and textures hanging off its objects — those are routinely shared between objects and outlive any one graph — so whoever created them is responsible for freeing them.

On this page