Navigation
API > API/Editor > API/Editor/KismetCompiler > API/Editor/KismetCompiler/FKismetCompilerContext
Description
Modifies the graph to use a proxy delegate function if it uses a convertible delegate signature. This involves several steps:
Creates a new function graph that uses the exact function signature of the delegate.
Adds and links the original delegate function call, which implicity casts the input parameters.
If applicable, adds a node to the original graph that sets the variable of the target actor (ie: the captured variable)
| Name | ReplaceConvertibleDelegates |
| Type | function |
| Header File | /Engine/Source/Editor/KismetCompiler/Public/KismetCompiler.h |
| Include Path | #include "KismetCompiler.h" |
| Source | /Engine/Source/Editor/KismetCompiler/Private/KismetCompiler.cpp |
void ReplaceConvertibleDelegates
(
UEdGraph * Graph
)
Parameters
| Name | Remarks |
|---|---|
| Reference to graph instance |