AbstractReadonlyeventReadonlyeventReadonlyeventShould be triggered if the list of properties, the value or the state (visible, editable) of one or more properties has changed.
ReadonlyeventReadonlyeventProtectedmProtectedmComplete bounding box of this element inluding invisible nodes.
Bounding box of this element inluding only visible elements.
If true this element and all its children will not be visible.
OptionalpNewParent: TransformNode | nullProtectedcopyProtecteddeserializeShould be called if the element was removed from the scene and will never be used again.
Returns this element if it is currently selectable otherwise the next parent which is selectable.
Returns the next selectable parent or this if there is no parent.
Can be overridden to define a custom bounding box for the selection highlight. Defaults to SceneElement.boundingBoxVisible (does not return a clone).
ProtectedhandleProtectedhandleCan be overridden to disable the default selection highlight for this element. (Default: true)
Will be called for certain operations to load the undo data which was saved with a previous saveUndoData() call.
Can be used to provide additional undo related data for certain operations. Will be called before the operation is performed.
ProtectedserializeIf hidden this element and all its children will not be visible. The hidden state of an element is persistent.
ProtectedsetShould be called after the transformation of this.node was modified directly instead of using this.setTransform(). This function updates frozen world matrices and calls notifyChange with ElementChangedFlags.Transformation.
ProtectedwasProtectedwasProtected StaticcloneStaticFrom
TODO: This is only a placeholder for now. The final implementation is following later.