Extends
Properties
Is the both the component active in it's hierarchy? Inactive components won't be computed or rendered.
- Overrides:
The unique ID of this component.
- Overrides:
The name of the object.
The SceneObject this component belongs to. A Component is always attached to a SceneObject.
- Overrides:
Fired when the object has been modified.
- Overrides:
Fired when the object's name changes.
Either a parent ObjectTransform, if the component is a child of a ObjectTransform, or the SceneObject, if the component is a direct child of a SceneObject.
The parent ObjectTransform of a component of this component, whether from the immediate object the component belongs to, or an ancestor object.
The scene this component belongs to.
Gets the immediate parent transform component of this component. If this component is the child of a transform component, then that transform component is returned, otherwise the transform of the SceneObject that this component belongs to is returned.
Is the object this component belongs to visible?
Methods
clone(options) → Object
- Overrides:
Creates a clone of this object.
options |
Object | Options for the clone method. |
- Object
configure(o)
- Overrides:
Set the properties of the object from a JSON structure.
o |
Object | Serialized data to configure the object with |
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.