Delete Dynamic Variable`1 (LogiX node)

From Neos Wiki
Jump to navigation Jump to search
This page contains changes which are not marked for translation.
Delete Dynamic Variables`1
'Delete Dynamic Variable`1' LogiX node
Inputs
  Impulse Delete
  Slot Target
  String VariableName
Outputs
  Impulse OnDeleted
  Impulse OnNotFound

The Delete Dynamic Variable`1 node will attempt to delete DynamicField<T> and DynamicValueVariable<T> components (for value types) or DynamicReference<T> and DynamicReferenceVariable<T> components (for reference types) of the same type as the node with an exactly matching VariableName.

Usage

The Target input specifies where in the world hierarchy the node should start searching for dynamic variables bound to a DynamicVariableSpace, by default this is the root slot. The node searches for a DynamicVariableSpace with matching variables starting with the Target slot, if no exact match is found it will then perform an upward search of the world hierarchy.


The OnCleared output will fire an impulse if a DynamicVariableSpace with a matching dynamic variable is found.


The OnNotFound output will fire an impulse if an impulse is received at Delete but the node is unable to find a DynamicVariableSpace with matching dynamic variable.


When spawning this node from the node browser, it is possible to select one of a number of types for the node - only components of matching types will be deleted by this node when an impulse is received.

Examples

Node Menu

Variables
Back Storage Clear Dynamic Variables Clear Dynamic Variables of Type`1 Create Dynamic Variable`1 Delete Dynamic Variable`1 Dynamic Variable Input With Events`1
Dynamic Variable Input`1 Read Cloud Variable`1 Read Dynamic Variable`1 Write Cloud Variable`1 Write Dynamic Variable`1 Write Or Create Dynamic Variable`1