Skip to content

@tmrw-realityos/charmDocs


@tmrw-realityos/charm / Scene

Class: Scene

Constructors

new Scene()

new Scene(): Scene

Returns

Scene

Defined in

packages/charm/src/scene/scene.ts:18

Properties

animations

animations: Animation[] = []

Defined in

packages/charm/src/scene/scene.ts:15


environment

environment: Environment

Defined in

packages/charm/src/scene/scene.ts:16


root

root: Node

Defined in

packages/charm/src/scene/scene.ts:14

Methods

clear()

clear(): void

Returns

void

Defined in

packages/charm/src/scene/scene.ts:23


querySelector()

querySelector(selector): undefined | Node

Parameters

selector: string

Returns

undefined | Node

Defined in

packages/charm/src/scene/scene.ts:27