Navigation
API > API/Runtime > API/Runtime/DataflowCore > API/Runtime/DataflowCore/FDataflowNode
Description
SafeForwardInput(...)
Forward an input to this output or set a default value if no input is connected. This is more memory efficient when an input is connected than setting the value. Input and output references must match in type.
| Name | SafeForwardInput |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Dataflow/Core/Public/Dataflow/DataflowNode.h |
| Include Path | #include "Dataflow/DataflowNode.h" |
template<class T>
void SafeForwardInput
(
UE::Dataflow::FContext & Context,
const UE::Dataflow::FConnectionReference & InputReference,
const T * Reference
) const
Parameters
| Name | Remarks |
|---|---|
| Context | : The evaluation context that holds the data store. |
| InputReference | : Pointer to a input member of this node that needs to be forwarded. |
| Reference | : Pointer to a member of this node that corresponds with the output to set. |