Navigation
API > API/Plugins > API/Plugins/GeometryFlowCore > API/Plugins/GeometryFlowCore/BaseNodes > API/Plugins/GeometryFlowCore/BaseNodes/TSwitchNode
- FNode::CollectRequirements()
- TSwitchNode::CollectRequirements()
References
| Module | GeometryFlowCore |
| Header | /Engine/Plugins/Experimental/GeometryFlow/Source/GeometryFlowCore/Public/BaseNodes/SwitchNode.h |
| Include | #include "BaseNodes/SwitchNode.h" |
virtual void CollectRequirements
(
const TArray < FString > & Outputs,
TArray < FEvalRequirement > & RequiredInputsOut
)
Remarks
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.