ReadonlyeventReadonlyeventReadonlyeventReadonlyeventShould be triggered if the list of properties, the value or the state (visible, editable) of one or more properties has changed.
ReadonlyeventReadonlyeventProtectedmProtectedmProtectedmProtectedmProtectedmProtectedmStatic ReadonlyCLASS_BasketId may be null if the article is not intantiated yes (use ensureIsInstanced()). e.g. if article is a newly created clone
Complete bounding box of this element inluding invisible nodes.
Bounding box of this element inluding only visible elements.
Returns false if the article (including its children) has no or an empty geometry.
If true the main article will not be visible. Only the sub-articles will be visible.
If true this element and all its children will not be visible.
Array of sub-article ids. If not null only the sub-articles contained in this array are visible otherwise all sub-articles will be visible.
OptionalpNewParent: TransformNode | nullProtectedcopyProtecteddeserializeShould be called if the element was removed from the scene and will never be used again.
Retrieves the basket items which are not already cached (MainArticle + SubArticles) from the EAIWS and adds them to the cache.
Retrieves the calculations which are not already cached (MainArticle + SubArticles) from the EAIWS and adds them to the cache.
Retrieves the item properties which are not already cached (MainArticle + SubArticles) from the EAIWS and adds them to the cache.
Fills the internal cache with the given calculations.
Fills the internal cache with the given data.
Fills the internal cache with the given item properties.
Retrieves the article data for this article. In order to retrieve the properties, the article has to be instantiated on server side. This may not be possible if the ofml data is not installed or it has changed (article requires migration). The operation would fail in those cases. If properties are not required the noProperties option can be set to true to avoid this. (Default: false)
OptionalpOptions: GetArticleDataOptionsOptionalpOptions: GetArticleDataOptionsReturns a calculation for the main article including all its sub articles.
Returns the currently known ofml update state.
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).
ProtectedhandleProtectedhandleReturns true if this article has interactors. E.g. OAP interactors.
Enables highlighting of selectabe sub articles for this main article. The highlighting will be disabled automatically e.g. if the article changed or a tool was started. Returns false if the default tool is currently not running (if a default tool exists) or the highlighting is enabled already.
Called after creation of the highlighting.
OptionalpDisposeCallback: () => void
Called if the highighting was diposed/disabled.
Can 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.
Notify this main article that there was a change.
The changed article. Can be a sub article of the main article or the main article itself.
Shoud be true if the given article and also other articles have changed.
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.
ProtectedsetProtectedsupportUpdates the ofml article and its sub articles to use the currently installed product data. If an update is necessary can be checked with 'getOfmlUpdateState()'. Returns true if the update was successful.
set to true if migration should be performed if necessary
set to true if geometry should also be updated
OptionalpPriceDate: string
price date to use for the update
Should 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.
If there is a pending geometry update this function will wait until it is finished, otherwise it will resovle immediately.
ProtectedwasProtectedwasProtected StaticcloneStaticFromStaticGetProtected StaticLoad
Will be triggered inside updateGeometry() if the geometry was successfully updated.