UK2Node_PromotableOperator::ConvertPinType

Convert the given pin to the new pin type.

Unreal Engine C++ API Reference > Editor > BlueprintGraph > UK2Node_PromotableOperator

References

   
Module BlueprintGraph
Header /Engine/Source/Editor/BlueprintGraph/Classes/K2Node_PromotableOperator.h
Include #include "K2Node_PromotableOperator.h"
Source /Engine/Source/Editor/BlueprintGraph/Private/K2Node_PromotableOperator.cpp
void ConvertPinType
(
    [UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) * PinToChange,
    const [FEdGraphPinType](API\Runtime\Engine\EdGraph\FEdGraphPinType) NewPinType
)

Remarks

Convert the given pin to the new pin type. If the new type is wildcard then break all connections and reset the node. Invalidates tooltips upon completion. This function is to be used by the context menu and includes a transaction.

Parameters

Name Description
PinToChange The Pin to convert
NewPinType The pin's new type

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library