Navigation
API > API/Editor > API/Editor/BlueprintGraph > API/Editor/BlueprintGraph/UK2Node_PromotableOperator
Description
Build the context menu to convert the given pin to a different type. If the pin is a wildcard, offer any possible types. Otherwise, offer to reset the node to wildcard.
| Name | CreateConversionMenu |
| Type | function |
| Header File | /Engine/Source/Editor/BlueprintGraph/Classes/K2Node_PromotableOperator.h |
| Include Path | #include "K2Node_PromotableOperator.h" |
| Source | /Engine/Source/Editor/BlueprintGraph/Private/K2Node_PromotableOperator.cpp |
void CreateConversionMenu
(
struct FToolMenuSection & ConversionSection,
UEdGraphPin * ContextPin
) const
Parameters
| Name | Remarks |
|---|---|
| Menu | The parent context menu |
| ContextPin | The pin to convert |