UK2Node_Variable::GetVariableIconAndColor

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

Windows
MacOS
Linux

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

Syntax

static FSlateIcon GetVariableIconAndColor
(
    const UStruct * VarScope,
    FName VarName,
    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).

Returns

A icon representing the specified variable's type.

Parameters

Parameter

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss