Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Styling
Inheritance Hierarchy
- ISlateStyle
- FSlateStyleSet
- FClothAssetEditorStyle
- FDisplayClusterLaunchEditorStyle
- FDMXEditorStyle
- FExampleCharacterFXEditorStyle
- FGroomEditorStyle
- FIKRetargetEditorStyle
- FIKRigEditorStyle
- FMLDeformerEditorStyle
- FNearestNeighborModelEditorStyle
- FNiagaraEditorStyle
- FSlateGameResources
- FStarshipCoreStyle::FStyle
- FStateTreeEditorStyle
- FUVEditorStyle
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Styling/ISlateStyle.h |
| Include | #include "Styling/ISlateStyle.h" |
Syntax
class ISlateStyle
Constructors
| Type | Name | Description | |
|---|---|---|---|
ISlateStyle () |
Constructor. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~ISlateStyle () |
Destructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FSlateBrush * | GetBrush
(
const FName PropertyName, |
||
| const FLinearColor & | GetColor
(
const FName PropertyName, |
||
| FString | |||
| FSlateBrush * | Get default FSlateBrush. | ||
| const TSharedPtr< FSlateDynamicImageBrush > | GetDynamicImageBrush
(
const FName BrushTemplate, |
||
| const TSharedPtr< FSlateDynamicImageBrush > | GetDynamicImageBrush
(
const FName BrushTemplate, |
||
| const TSharedPtr< FSlateDynamicImageBrush > | GetDynamicImageBrush
(
const FName BrushTemplate, |
||
| TArray< FName > | GetEntriesUsingBrush
(
const FName BrushName |
Gets the names of every style entry using a brush in this style Note: this function is expensive and is not designed to be used in performance critical situations | |
| float | GetFloat
(
const FName PropertyName, |
||
| FSlateFontInfo | GetFontStyle
(
const FName PropertyName, |
||
| const FMargin & | GetMargin
(
const FName PropertyName, |
||
| const FSlateBrush * | GetOptionalBrush
(
const FName PropertyName, |
Just like GetBrush, but returns DefaultBrush instead of the "missing brush" image when the resource is not found. | |
| void | GetResources
(
TArray< const FSlateBrush* >& OutResources |
Populate an array of FSlateBrush with resources consumed by this style. | |
| const FSlateColor | GetSlateColor
(
const FName PropertyName, |
||
| const FSlateSound & | GetSound
(
const FName PropertyName, |
Look up a sound property specified by PropertyName and optional Specifier. | |
| TSet< FName > | GetStyleKeys () |
||
| const FName & | |||
| FVector2D | GetVector
(
const FName PropertyName, |
||
| const WidgetStyleType & | GetWidgetStyle
(
FName PropertyName, |
||
| const FSlateWidgetStyle * | GetWidgetStyleInternal
(
const FName DesiredTypeName, |
||
| bool | HasWidgetStyle
(
FName PropertyName, |
||
| FName | |||
| void | Log
(
EStyleMessageSeverity Severity, |
||
| void | LogMissingResource
(
EStyleMessageSeverity Severity, |
||
| const TSharedPtr< FSlateDynamicImageBrush > | MakeDynamicImageBrush
(
const FName BrushTemplate, |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EStyleMessageSeverity | The severity of the message type Ordered according to their severity |