TypeId
const TypeId: "~three/Scene";
Variable: TypeId
const TypeId: "~three/Scene";Defined in: packages/three/src/Scene.ts:26
The scene graph root — a scoped handle over three's Scene.
Remarks
three is already shaped the way this wrapper wants, so this is a
branding-and-lifecycle layer rather than a redesign. Everything here —
add, remove, clear, setBackground — is
infallible bookkeeping on an object already in hand, so it stays
synchronous and chains through .pipe. Effect enters only at
make, which registers teardown.
Example
const scene = yield* Scene.make();
scene.pipe(Scene.add([mesh]), Scene.setBackground(new Color(0x16161d)));