Navigation
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) GetVariableIconAndColor ( const [UStruct](API\Runtime\CoreUObject\UObject\UStruct) * VarScope, [FName](API\Runtime\Core\UObject\FName) VarName, [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). A icon representing the specified variable's type.
Parameters
Name | Description |
---|---|
VarScope | The scope that owns the variable in question. |
VarName | The name of the variable you're querying for. |
IconColorOut | A color out, further discerning the variable's type. |