Readonly
parameterReadonly
parametersApplies all existing states of the TagManager's parameters for all TagManagerSubjects.
Applies all existing states of the TagManager's parameters for given TagManagerSubjects.
Does the same as setParameterValues with the difference that all existing states of the TagManager's parameters are applied to all given nodes.
Gets a list of TagManagerSubjects that are present in both the state of the TagManager's parameters and the given objects.
Gets all materials for given TagManagerSubject on the Babylon.js scene.
Optional
predicate: ((material: Material) => boolean)Gets all nodes for given TagManagerSubject on the Babylon.js scene.
Optional
predicate: ((node: TransformNode) => boolean)Gets a list of TagManagerSubjects that are present in both the state of the TagManager's parameters and the given object.
Maps all tags on given nodes with the TagMapping and updates the state of the TagManager's parameters for all new tags. Also updates the state of all nodes in the tag managers parameter state.
Prints the state of the TagManager's parameters to the console.
Prints the state of the TagManager's parameters for one tagName to the console.
Registers observers that are called on every new object added to the Babylon.js scene. The observers ensure that each new object gets the state of the TagManager's parameters applied.
Calls the ParameterObserver for given Parameter and applies the ParameterValue on all materials with given materialName.
Calls the ParameterObserver for given Parameter and applies the ParameterValue on all nodes with given nodeName.
Sets a ParameterObserver for the given Parameter.
The observer should return false
in cases where the given value was not actually applied. E.g. when wanting to
apply a property on the given node
s material which doesn't exist at the time the observer is called etc.
Splits the passed TagManagerParameterValues into individual values and calls all ParameterObservers of all Parameters with the respective TagManagerSubject and ParameterValue. The result is a map of passed TagManagerParameterValues and the associated TagManagerParameterObserverResult of the ParameterObserver.
Calls the ParameterObserver for given Parameter and applies the ParameterValue on all nodes with given tagName.
Generated using TypeDoc
Constructor.