Beta
Readonly
Beta
cacheReadonly
Beta
fileReadonly
Beta
idThe unique id of the entity.
Beta
lazyReadonly
Beta
nameThe name of the asset.
Readonly
Beta
prefabBeta
retainReadonly
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
Adds a scene object to the entity.
Beta
Creates a scene object to the entity.
Beta
Get the index of object
within the list of all the root objects.
Beta
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
A native asset that provides information for visual objects rendering. Learn more at "Lens Scripting".Built-In.ObjectPrefab. Import with Editor.Model.AssetManager.createNativeAsset.