Extends
Properties
If an object is not active, it is ignored during update and rendering.
The icon to use for this object.
- Overrides:
The unique identifier of the object.
Does the object have a camera component?
Does the object have a light component?
If an object is static, it will not be included in physics simulations.
- Overrides:
The name of the object.
- Overrides:
Fired when the object has been modified.
- Overrides:
Fired when the object's name changes.
If an object is not selectable, it will not be checked for selection in the viewport.
The root transform component of the object.
If an object is not visible, it is updated not but rendered.
Methods
clone(options) → Object
- Overrides:
Creates a clone of this object.
options |
Object | Options for the clone method. |
- Object
configure(o)
- Overrides:
Load the object data from JSON.
o |
Object | object containing the configuration data. |
getCamera()
Returns the first camera component found in the object.
getLight() → nullable Light
Returns the first light component found in the object.
getPropertyInfo(path) → Object
- Overrides:
Get information about a particular property of this object.
path |
String |
- Object
serialize() → Object
- Overrides:
Serialize the object to a JSON structure.
- Object
The serialized version of the object.
setModified()
- Overrides:
Fires the objects onModified signal.
toJSON() → Object
- Overrides:
Serialize the object to a JSON structure
- Object
The serialized version of the object.