Navigation
API > API/Runtime > API/Runtime/SlateCore
| Name | ISlateStyle |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Styling/ISlateStyle.h |
| Include Path | #include "Styling/ISlateStyle.h" |
Syntax
class ISlateStyle
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ISlateStyle() |
Constructor. | Styling/ISlateStyle.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~ISlateStyle() |
Destructor. | Styling/ISlateStyle.h |
Enums
Protected
| Name | Remarks |
|---|---|
| EStyleMessageSeverity | The severity of the message type Ordered according to their severity |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FSlateBrush * GetBrush
(
const FName PropertyName, |
Styling/ISlateStyle.h | ||
const FLinearColor & GetColor
(
const FName PropertyName, |
Styling/ISlateStyle.h | ||
FString GetContentRootDir() |
Styling/ISlateStyle.h | ||
FSlateBrush * GetDefaultBrush() |
Get default FSlateBrush. | Styling/ISlateStyle.h | |
const TSharedPtr< FSlateDynamicImageBrush > GetDynamicImageBrush
(
const FName BrushTemplate, |
Styling/ISlateStyle.h | ||
const TSharedPtr< FSlateDynamicImageBrush > GetDynamicImageBrush
(
const FName BrushTemplate, |
Styling/ISlateStyle.h | ||
const TSharedPtr< FSlateDynamicImageBrush > GetDynamicImageBrush
(
const FName BrushTemplate, |
Styling/ISlateStyle.h | ||
| 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 | Styling/ISlateStyle.h | ||
float GetFloat
(
const FName PropertyName, |
Styling/ISlateStyle.h | ||
FSlateFontInfo GetFontStyle
(
const FName PropertyName, |
Styling/ISlateStyle.h | ||
const FMargin & GetMargin
(
const FName PropertyName, |
Styling/ISlateStyle.h | ||
const FSlateBrush * GetOptionalBrush
(
const FName PropertyName, |
Just like GetBrush, but returns DefaultBrush instead of the "missing brush" image when the resource is not found. | Styling/ISlateStyle.h | |
void GetResources
(
TArray< const FSlateBrush* >& OutResources |
Populate an array of FSlateBrush with resources consumed by this style. | Styling/ISlateStyle.h | |
const FSlateColor GetSlateColor
(
const FName PropertyName, |
Styling/ISlateStyle.h | ||
const FSlateSound & GetSound
(
const FName PropertyName, |
Look up a sound property specified by PropertyName and optional Specifier. | Styling/ISlateStyle.h | |
TSet< FName > GetStyleKeys() |
Styling/ISlateStyle.h | ||
const FName & GetStyleSetName() |
Styling/ISlateStyle.h | ||
UE::Slate::FDeprecateVector2DResult GetVector
(
const FName PropertyName, |
Styling/ISlateStyle.h | ||
const WidgetStyleType & GetWidgetStyle
(
FName PropertyName, |
Locates a widget style of a specified type and name. | Styling/ISlateStyle.h | |
const WidgetStyleType & GetWidgetStyle
(
FName PropertyName, |
Locates a widget style of a specified type and name. | Styling/ISlateStyle.h | |
const FSlateWidgetStyle * GetWidgetStyle
(
const FName& WidgetStyleTypeName, |
Styling/ISlateStyle.h | ||
virtual const TSet< FName > & GetWidgetStyleNames() |
Styling/ISlateStyle.h | ||
bool HasWidgetStyle
(
FName PropertyName, |
Styling/ISlateStyle.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FSlateWidgetStyle * GetWidgetStyleInternal
(
const FName DesiredTypeName, |
Styling/ISlateStyle.h | ||
void Log
(
EStyleMessageSeverity Severity, |
Styling/ISlateStyle.h | ||
void LogMissingResource
(
EStyleMessageSeverity Severity, |
Styling/ISlateStyle.h | ||
const TSharedPtr< FSlateDynamicImageBrush > MakeDynamicImageBrush
(
const FName BrushTemplate, |
Styling/ISlateStyle.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Styling/ISlateStyle.h |