Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Styling
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Styling/UMGCoreStyle.h |
| Include | #include "Styling/UMGCoreStyle.h" |
Syntax
class FUMGCoreStyle
Remarks
Core slate style
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< class ISlateStyle > | Create () |
||
| const ISlateStyle & | Get () |
||
| TSharedRef< const FCompositeFont > | Get the default font for Slate | ||
| FSlateFontInfo | GetDefaultFontStyle
(
const FName InTypefaceFontName, |
Get a font style using the default for for Slate | |
| bool | |||
| void | |||
| void | SetFocusBrush
(
FSlateBrush* NewBrush |
||
| void | SetInactiveSelectionColor
(
const FLinearColor& NewColor |
||
| void | SetPressedSelectionColor
(
const FLinearColor& NewColor |
||
| void | SetSelectionColor
(
const FLinearColor& NewColor |
||
| void | SetSelectorColor
(
const FLinearColor& NewColor |
Used to override the default selection colors |
Constants
| Name | Description |
|---|---|
| Instance | Singleton instances of this style. |
| RegularTextSize | |
| SmallTextSize |