Navigation
API > API/Plugins > API/Plugins/GeometryFlowCore > API/Plugins/GeometryFlowCore/TSwitchNode
Description
Determine which Inputs are required for the desired Output. This replaces the default behavior ("all inputs") with only the selected Input returned as a Requirement, which in turn allows the Graph Evaluator to skip evaluation of the other inputs.
Virtual Inheritance
- FNode::CollectRequirements → TSwitchNode::CollectRequirements
| Name | CollectRequirements |
| Type | function |
| Header File | /Engine/Plugins/Experimental/GeometryFlow/Source/GeometryFlowCore/Public/BaseNodes/SwitchNode.h |
| Include Path | #include "BaseNodes/SwitchNode.h" |
virtual void CollectRequirements
(
const TArray < FString > & Outputs,
TArray < FEvalRequirement > & RequiredInputsOut
)