Beta
Protected
constructorBeta
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
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
A native asset that provides information for visual objects rendering. Learn more at LensScripting.ObjectPrefab. Import with Editor.Model.AssetManager#createNativeAsset.