FWidgetStyle

Contains info about those aspects of widget appearance that should be propagated hierarchically.

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

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

Include

#include "Styling/WidgetStyle.h"

Syntax

class FWidgetStyle

Remarks

Contains info about those aspects of widget appearance that should be propagated hierarchically.

Constructors

Name Description

Public function

FWidgetStyle()

Default constructor.

Functions

Name Description

Public function

FWidgetStyle...

 

BlendColorAndOpacityTint

(
    const FLinearColor& InTint
)

Blends the current tint color with the specified tint.

Public function

FWidgetStyle...

 

BlendOpacity

(
    float InOpacity
)

Blends the current tint color with the specified alpha.

Public function Const

const FLinea...

 

GetColorAndOpacityTint()

Gets the style's color opacity and tint.

Public function Const

const FLinea...

 

GetForegroundColor()

Gets the style's foreground color.

Public function Const

const FLinea...

 

GetSubduedForegroundColor()

Gets the style's subdued color.

Public function

FWidgetStyle...

 

SetForegroundColor

(
    const FLinearColor& InForeground
)

Sets the current foreground color from the given linear color.

Public function

FWidgetStyle...

 

SetForegroundColor

(
    const TAttribute< FSlateColor >& I...
)

Sets the current foreground color from the given Slate color attribute.

Constants

Name

Description

SubdueAmount