Beta
Protected
constructorBeta
Readonly
Beta
cacheReadonly
Beta
fileReadonly
Beta
idThe unique id of the entity.
Readonly
Beta
nameThe name of the asset.
Readonly
Beta
rootA list of scene objects which is a direct child of this entity.
Readonly
Beta
sceneA list of scene objects which is a child of this entity.
Readonly
Beta
typeThe entity's type.
Beta
Get the index of object
within the list of all the root objects.
Beta
Beta
Beta
Swap this entity for another one based on a JSON of the current entity id and the target entity id.
Beta
Reparent the scene object to another scene object. You can use this to reparent objects to the root (i.e. pass in null
).
Optional
position: number
Base class for entities which has object and component relationship such as Editor.Assets.Scene and Editor.Assets.ObjectPrefab.