Created the page for the Clear Dynamic Variables Of Type node. |
m cat |
||
(One intermediate revision by the same user not shown) | |||
Line 22: | Line 22: | ||
== Inputs == | == Inputs == | ||
=== * ([[Impulses|Call]]) === | === * ([[Impulses|Call]]) === | ||
Calls an impulse to clear all dynamic variables of that type from a given dynamic space. | Calls an impulse to clear all dynamic variables of that type from a given dynamic space. | ||
Line 48: | Line 48: | ||
Returns the number of dynamic variables of that type that have been removed by this node. | Returns the number of dynamic variables of that type that have been removed by this node. | ||
[[Category:ProtoFlux:Variables: | [[Category:ProtoFlux:Variables:Dynamic]] |
Latest revision as of 04:01, 25 August 2025
The Clear Dynamic Variables Of Type
node takes in a slot hierarchy and a string literal path of the dynamic space name. For more information, see Dynamic Variables. This node then uses the selected type and searches through that hierarchy and only removes the dynamic variables of that matching type.
Inputs
* (Call)
Calls an impulse to clear all dynamic variables of that type from a given dynamic space.
Target (Slot)
The slot hierarchy for this node to look through.
SpaceName (string)
The dynamic space name to find and clear out the dynamic variables of declared type from.
Outputs
OnNotFound (Continuation)
Fires when the path is incorrect or there is nothing to find in the given slot hierarchy that matches that type.
OnCleared (Continuation)
Fires when the dynamic space name is found and all dynamic variables of that type under that name is removed.
ClearedCount (int)
Returns the number of dynamic variables of that type that have been removed by this node.