FWidgetStyle

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

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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback