TSwitchNode::CollectRequirements

Determine which Inputs are required for the desired Output.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

FNode::CollectRequirements()

TSwitchNode::CollectRequirements()

References

Module

GeometryFlowCore

Header

/Engine/Plugins/Experimental/GeometryFlow/Source/GeometryFlowCore/Public/BaseNodes/SwitchNode.h

Include

#include "BaseNodes/SwitchNode.h"

Syntax

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.