UK2Node_Variable::GetVarIconFromPinType

Utility method intended to serve as a choke point for various slate widgets to grab an icon from (for a specified variable pin type).

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

References

   
Module BlueprintGraph
Header /Engine/Source/Editor/BlueprintGraph/Classes/K2Node_Variable.h
Include #include "K2Node_Variable.h"
Source /Engine/Source/Editor/BlueprintGraph/Private/K2Node_Variable.cpp
static [FSlateIcon](API\Runtime\SlateCore\Textures\FSlateIcon) GetVarIconFromPinType
(
    const [FEdGraphPinType](API\Runtime\Engine\EdGraph\FEdGraphPinType) & InPinType,
    [FLinearColor](API\Runtime\Core\Math\FLinearColor) & IconColorOut
)

Remarks

Utility method intended to serve as a choke point for various slate widgets to grab an icon from (for a specified variable pin type). A icon representing the specified variable's type.

Parameters

Name Description
InPinType The pin type of the variable in question.
IconColorOut A color out, further discerning the variable's type.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library