FKismetConnectionDrawingPolicy::BackTraceExecPath

With the introduction of "reroute" ([UK2Node_Knot](API\Editor\BlueprintGraph\UK2Node_Knot)) nodes, we have to backtrace to find a node that was actually executed before the one in question (knot nodes are removed at compile time, and therefore never executed).

Windows
MacOS
Linux

References

Module

GraphEditor

Header

/Engine/Source/Editor/GraphEditor/Public/BlueprintConnectionDrawingPolicy.h

Include

#include "BlueprintConnectionDrawingPolicy.h"

Source

/Engine/Source/Editor/GraphEditor/Private/BlueprintConnectionDrawingPolicy.cpp

Syntax

FTimePair const * BackTraceExecPath
(
    UEdGraphPin const *const OutputPin,
    FExecPairingMap const *const NodeExecutionList
)

Remarks

With the introduction of "reroute" (UK2Node_Knot) nodes, we have to backtrace to find a node that was actually executed before the one in question (knot nodes are removed at compile time, and therefore never executed).

This function recursively searches for any pins feeding the OutputPin (or the OutputPin itself); it looks for a pin on a non-reroute node (one that is listed in NodeExecutionList).

Returns

Null if OutputPin did not cause the invocation of the node in question, otherwise a valid time pair denoting when the node was executed.

Parameters

Parameter

Description

OutputPin

An exec pin, leading into the node in question (an output pin on some other node).

NodeExecutionList

A list of pins that feed the execution of a specific node.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss