A list of scene objects that is a child of this scene object.
A list of components that is a child of this scene object.
Whether this scene object is enabled or disabled.
ReadonlyhasWhether this scene object contains any component which is of type Editor.Components.Visual.
ReadonlyidThe unique id of the entity.
The layerSet this scene object is on.
The transform of this scene object relative to its parent.
ReadonlymetaThe name of the scene object.
ReadonlytopReadonlytypeThe entity's type.
The transform of this scene object relative to the scene its in.
Add a scene object as a child of this object at a specified pos.
Optionalpos: numberAdd a new Editor.Components.Component by entityType to this object..
Add the component value at the specified pos.
Optionalpos: numberRemove all children from this object.
Remove all components from this scene object.
StaticcommonDestroy this scene object. All references to it becomes invalid.
Get the number of children on this object.
Get the first component of entityType.
Get all the components of entityType on this object.
Get the number of components on this object.
A list of entities which this entity has a reference to.
StaticgetA list of entities which has a reference to this entity.
Get the parent of this scene object.
StaticgetGet the position of a specific object, if the object is a child of this object.
Get the position of a specific component value on this object.
Move child in the order of children on this object.
Move the component value to a specified pos.
Remove a child at the specified pos.
Remove the first component of entityType from this object.
Remove the components at the specified pos.
Set the child scene object value to be at the specified pos.
Set the component value to be at the specified pos.
Set the parent of this scene object.
Optionalposition: numberStaticstaticStatictop
The same entity as in Lens Scripting. Can contain one or more Editor.Components.Component. Additionally, it can have zero or more scene objects which is a child of it.
See
LensScripting.SceneObject.