SceneEntry

Reference

class SceneEntry
module:
load()

Load the scene

unload()

Unload the scene

activate()

Activate the scene, meaning it will be rendered

deactivate()

Deactivate the scene, meaning it will not be rendered anymore

setActivated(value)

Set the activation state of the scene. An active scene will be rendered, an inactive one won’t

Parameters:

value (boolean) – true or false

setLoaded(value)

Set the loading state of the scene. An unloaded scene will not be rendered and freed from memory

Parameters:

value (boolean) – true or false

isActive()

Returns the activation state of the scene

Returns:

Activation state

Return type:

boolean

isLoaded()

Returns the loading state of the scene

Returns:

Loading state

Return type:

boolean

Examples