Skip to main content

Scene

Scene

Kind: global class

new Scene([name])

ParamTypeDefault
[name]string"Unnamed"

scene.name : string

Kind: instance property of Scene

scene.dataset : EntityComponentDataset

Kind: instance property of Scene

scene.active : ObservedBoolean

Kind: instance property of Scene
Read only: true

scene.destroyed : boolean

Flag used to signal that the scene was been destroyed and should no longer be used

Kind: instance property of Scene

scene.speedModifiers : List.<LinearModifier>

Clock modifiers

Kind: instance property of Scene

scene.handlePreActivation()

Executed just before the scene is is activated

Kind: instance method of Scene

scene.handlePostActivation()

Executed just after scene is activate

Kind: instance method of Scene

scene.handlePreDeactivation()

Executed just before scene is deactivated

Kind: instance method of Scene

scene.handlePostDeactivation()

Executed just after scene is deactivated

Kind: instance method of Scene

scene.setup(options, engine, success, failure) ⇒ Task | TaskGroup

Kind: instance method of Scene

ParamType
options
engineEngine
successfunction
failurefunction