ReadonlycacheReadonlyfileReadonlyidThe unique id of the entity.
ReadonlylayersThis list of layers that exists within this scene.
ReadonlymainThe camera that renders renderOutput.
ReadonlymetaReadonlynameThe name of the asset.
ReadonlyrootA list of scene objects which is a direct child of this entity.
ReadonlysceneA list of scene objects which is a child of this entity.
ReadonlytypeThe entity's type.
A list of entities which this entity has a reference to.
StaticgetA list of entities which has a reference to this entity.
Get the index of object within the list of all the root objects.
StaticgetInstantiate a prefab as a child of parent under this entity.
Reparent the scene object to another scene object. You can use this to reparent objects to the root (i.e. pass in null).
Optionalposition: number
The entity which will be coverted into the Lens scene during project export. This scene will contan and own all objects and components in the Lens. This entity can be accessed via the current project’s
model.project.scene.