Skip to content

Class: LoadedScene ​

A scene loaded into the running one with Scene.LoadAdditive (Game.scenes.LoadAdditive): its root entities, for unloading them as a group.

Constructors ​

Constructor ​

ts
new LoadedScene(
   m_scene, 
   name, 
   key, 
   roots
): LoadedScene;

Parameters ​

ParameterType
m_sceneScene
namestring
keystring
rootsnumber[]

Returns ​

LoadedScene

Properties ​

PropertyModifierType
keyreadonlystring
namereadonlystring

Accessors ​

isLoaded ​

Get Signature ​

ts
get isLoaded(): boolean;
Returns ​

boolean


roots ​

Get Signature ​

ts
get roots(): Entity[];
Returns ​

Entity[]

Methods ​

Unload() ​

ts
Unload(): boolean;

Returns ​

boolean

© 2026 PlayAdGentic