Module |
|
Header |
/Engine/Source/Editor/KismetCompiler/Public/KismetCompiler.h |
Include |
#include "KismetCompiler.h" |
Source |
/Engine/Source/Editor/KismetCompiler/Private/KismetCompiler.cpp |
void ProcessIntermediateTunnelBoundary
(
UK2Node_Tunnel * TunnelInput,
UK2Node_Tunnel * TunnelOutput
)
Processes an intermediate tunnel expansion boundary.
We define a tunnel boundary as the input and output sides of an intermediate tunnel instance node expansion. Each boundary consists of a pair of tunnel nodes (input/output), with one side being the tunnel "instance" node that owns the expansion. After expansion, tunnel nodes are cropped and removed from the function graph, so they do not result in any actual bytecode.
This function maps the nodes in the execution path through the expansion and back to the outer tunnel instance node. If Blueprint debugging is enabled, this function also spawns one or more intermediate "boundary" NOPs around the tunnel I/O pair. The boundary nodes are intended to serve as debug sites, allowing breakpoints to be hit on both sides of the tunnel.
Parameter |
Description |
---|---|
TunnelInput |
Tunnel input node. This will either be a tunnel instance node (OutputSource) or a tunnel exit node. |
TunnelOutput |
Tunnel output node. This will either be a tunnel entry node or a tunnel instance node (InputSink). |