Navigation
API > API/Plugins > API/Plugins/DataflowEditor > API/Plugins/DataflowEditor/Dataflow > API/Plugins/DataflowEditor/Dataflow/FDataflowEditorCommands
References
| Module | DataflowEditor |
| Header | /Engine/Plugins/Experimental/Dataflow/Source/DataflowEditor/Public/Dataflow/DataflowEditorCommands.h |
| Include | #include "Dataflow/DataflowEditorCommands.h" |
| Source | /Engine/Plugins/Experimental/Dataflow/Source/DataflowEditor/Private/Dataflow/DataflowEditorCommands.cpp |
static const FDataflowNode * EvaluateNode
(
UE::Dataflow::FContext & Context,
UE::Dataflow::FTimestamp & InOutLastNodeTimestamp,
const UDataflow * Dataflow,
const FDataflowNode * Node,
const FDataflowOutput * Output,
const FString & NodeName,
UObject * Asset
)
Remarks
Node evaluation utility function. The node that has been evaluated if any.
Parameters
| Name | Description |
|---|---|
| Context | The evaluation context. |
| InOutLastNodeTimestamp | The last evaluation time used to trigger the evaluation when the node's timestamp is more recent than this value. If the node is evaluated, the value also gets updated with the evaluated node's current timestamp. |
| Dataflow | The dataflow asset used to search for the NodeName when Node is nullptr. |
| Node | The node to evaluate. When null, a node with the given NodeName will be evaluated instead if it exists. |
| Output | The node's output to evaluate. When no output are specified, all outputs will be evaluated. |
| NodeName | When no node is specified, then the node will be searched instead within the Dataflow's graph using NodeName, otherwise NodeName is ignored. |
| Asset | When Asset is non null, if the node is a terminal node, and if the node timestamp is more recent than InOutLastNodeTimestamp. then the node SetAssetValue method will be called on this asset. |