ReadonlycacheReadonlyfileReadonlyidThe unique id of the entity.
ReadonlymetaReadonlynameThe name of the asset.
ReadonlyprefabReadonlyrootA 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.
StaticgetReparent the scene object to another scene object. You can use this to reparent objects to the root (i.e. pass in null).
Optionalposition: number
A native asset that provides information for visual objects rendering. Learn more at LensScripting.ObjectPrefab. Import with Editor.Model.AssetManager#createNativeAsset.