Navigation
API > API/Editor > API/Editor/KismetCompiler > API/Editor/KismetCompiler/FKismetCompilerContext > API/Editor/KismetCompiler/FKismetCompilerContext/CreateMulticastDelegateVariable
References
| Module | KismetCompiler |
| Header | /Engine/Source/Editor/KismetCompiler/Public/KismetCompiler.h |
| Include | #include "KismetCompiler.h" |
| Source | /Engine/Source/Editor/KismetCompiler/Private/KismetCompiler.cpp |
FMulticastDelegateProperty * CreateMulticastDelegateVariable
(
const FName Name,
const FEdGraphPinType & Type
)
Remarks
Creates a multicast delegate variable & associated signature graph / function, use to generate events
You must add an ubergraph page containing an 'UK2Node_GeneratedBoundEvent' that corresponds to this delegate to 'GeneratedUbergraphPages' in your 'FKismetCompilerContext'. We do not create this graph / page for you so that graph creation is not coupled to variable creation. We will associate this delegate with your node for you by name.