SCompoundWidget::SetColorAndOpacity

Sets the widget's color.

Windows
MacOS
Linux

References

Module

SlateCore

Header

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

Include

#include "Widgets/SCompoundWidget.h"

Syntax

void SetColorAndOpacity
(
    const TAttribute< FLinearColor > & InColorAndOpacity
)

Remarks

Sets the widget's color.

Parameters

Parameter

Description

InColorAndOpacity

The ColorAndOpacity to be applied to this widget and all its contents.

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