FSlateColor::GetColor

Gets the color value represented by this Slate color.

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Styling/SlateColor.h

Include

#include "Styling/SlateColor.h"

Syntax

const FLinearColor & GetColor
(
    const FWidgetStyle & InWidgetStyle
) const

Remarks

Gets the color value represented by this Slate color.

Returns

The color value.

Parameters

Parameter

Description

InWidgetStyle

The widget style to use when this color represents a foreground or subdued color.

See Also