SWidget::GetDisabledForegroundColor

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

SWidget::GetDisabledForegroundColor()

SButton::GetDisabledForegroundColor()

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h

Include

#include "Widgets/SWidget.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Widgets/SWidget.cpp

Syntax

virtual FSlateColor GetDisabledForegroundColor() const

Returns

the Foreground color that this widget sets when this widget or any of its ancestors are disabled; unset options if the widget does not set a foreground color