Navigation
API > API/Runtime > API/Runtime/SlateCore
A slate style chunk that contains a collection of named properties that guide the appearance of Slate. At the moment, basically FAppStyle.
| Name | FSlateStyleSet |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Styling/SlateStyle.h |
| Include Path | #include "Styling/SlateStyle.h" |
Syntax
class FSlateStyleSet : public ISlateStyle
Implements Interfaces
Derived Classes
FSlateStyleSet derived class hierarchy
- FActorModifierEditorStyle
- FAudioWidgetsStyle
- FAvaEditorCoreStyle
- FCaptureManagerStyle
- FClothAssetEditorStyle
- FDefaultRevisionControlStyle
- FDetailPoseModelEditorStyle
- FDisplayClusterLaunchEditorStyle
- FDMXEditorStyle
- FExampleCharacterFXEditorStyle
- FGroomEditorStyle
- FIKRetargetEditorStyle
- FIKRigEditorStyle
- FInsightsCoreStyle::FStyle
- FInsightsFrontendStyle::FStyle
- FMetaHumanCoreStyle
- FMetaHumanFaceContourTrackerStyle
- FMetaHumanFootageRetrievalWindowStyle
- FMetaHumanIdentityStyle
- FMetaHumanLiveLinkSourceStyle
- FMetaHumanToolkitStyle
- FMLDeformerEditorStyle
- FNavigationToolStyle
- FNearestNeighborModelEditorStyle
- FNiagaraEditorStyle
- FObjectMixerEditorStyle
- FRigVMEditorStyle
- FSchematicGraphStyle
- FSkeletalMeshMorphTargetEditingToolsStyle
- FSlateGameResources
- FSlateStyle
- FStarshipCoreStyle::FStyle
- FStateTreeEditorStyle
- FToolkitStyle
- FToolWidgetsStyle
- FWaveformEditorStyle
- FUVEditorStyle
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSlateStyleSet
(
const FSlateStyleSet& |
Styling/SlateStyle.h | ||
FSlateStyleSet
(
const FName& InStyleSetName |
Construct a style chunk. | Styling/SlateStyle.h | |
FSlateStyleSet
(
FSlateStyleSet&& |
Styling/SlateStyle.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FSlateStyleSet() |
Destructor. | Styling/SlateStyle.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString RootToContentDir
(
const FString& RelativePath, |
Styling/SlateStyle.h | ||
virtual FString RootToContentDir
(
const WIDECHAR* RelativePath, |
Styling/SlateStyle.h | ||
virtual FString RootToContentDir
(
const ANSICHAR* RelativePath, |
Styling/SlateStyle.h | ||
virtual FString RootToContentDir
(
const FString& RelativePath |
Styling/SlateStyle.h | ||
virtual FString RootToContentDir
(
const ANSICHAR* RelativePath |
Styling/SlateStyle.h | ||
virtual FString RootToContentDir
(
const WIDECHAR* RelativePath |
Styling/SlateStyle.h | ||
virtual FString RootToCoreContentDir
(
const ANSICHAR* RelativePath |
Styling/SlateStyle.h | ||
virtual FString RootToCoreContentDir
(
const WIDECHAR* RelativePath |
Styling/SlateStyle.h | ||
virtual FString RootToCoreContentDir
(
const FString& RelativePath |
Styling/SlateStyle.h | ||
virtual FString RootToCoreContentDir
(
const ANSICHAR* RelativePath, |
Styling/SlateStyle.h | ||
virtual FString RootToCoreContentDir
(
const WIDECHAR* RelativePath, |
Styling/SlateStyle.h | ||
virtual FString RootToCoreContentDir
(
const FString& RelativePath, |
Styling/SlateStyle.h | ||
void Set
(
FName PropertyName, |
Set FSlateSound properties | Styling/SlateStyle.h | |
| Add a FSlateBrush property to this style's collection | Styling/SlateStyle.h | ||
| Add a FMargin property to this style's collection. | Styling/SlateStyle.h | ||
void Set
(
const FName PropertyName, |
Add a FSlateLinearColor property to this style's collection. | Styling/SlateStyle.h | |
| Styling/SlateStyle.h | |||
void Set
(
const FName PropertyName, |
Set FLinearColor property. | Styling/SlateStyle.h | |
| Styling/SlateStyle.h | |||
| Styling/SlateStyle.h | |||
| Add a FVector2D property to this style's collection. | Styling/SlateStyle.h | ||
| Set float properties | Styling/SlateStyle.h | ||
| Styling/SlateStyle.h | |||
void Set
(
FName PropertyName, |
Set FSlateFontInfo properties | Styling/SlateStyle.h | |
virtual void SetContentRoot
(
const FString& InContentRootDir |
Styling/SlateStyle.h | ||
virtual void SetCoreContentRoot
(
const FString& InCoreContentRootDir |
Styling/SlateStyle.h | ||
void SetParentStyleName
(
const FName& InParentStyleName |
Name a Parent Style to fallback on if the requested styles are specified in this style | Styling/SlateStyle.h |
Overridden from ISlateStyle
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FSlateBrush * GetBrush
(
const FName PropertyName, |
Styling/SlateStyle.h | ||
virtual const FLinearColor & GetColor
(
const FName PropertyName, |
Styling/SlateStyle.h | ||
virtual FString GetContentRootDir() |
Styling/SlateStyle.h | ||
virtual FSlateBrush * GetDefaultBrush() |
Get default FSlateBrush. | Styling/SlateStyle.h | |
virtual const TSharedPtr< FSlateDynamicImageBrush > GetDynamicImageBrush
(
const FName BrushTemplate, |
Styling/SlateStyle.h | ||
virtual const TSharedPtr< FSlateDynamicImageBrush > GetDynamicImageBrush
(
const FName BrushTemplate, |
Styling/SlateStyle.h | ||
virtual const TSharedPtr< FSlateDynamicImageBrush > GetDynamicImageBrush
(
const FName BrushTemplate, |
Styling/SlateStyle.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/SlateStyle.h | ||
virtual float GetFloat
(
const FName PropertyName, |
Styling/SlateStyle.h | ||
virtual FSlateFontInfo GetFontStyle
(
const FName PropertyName, |
Styling/SlateStyle.h | ||
virtual const FMargin & GetMargin
(
const FName PropertyName, |
Styling/SlateStyle.h | ||
virtual 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/SlateStyle.h | |
virtual void GetResources
(
TArray< const FSlateBrush* >& OutResources |
Populate an array of FSlateBrush with resources consumed by this style. | Styling/SlateStyle.h | |
virtual const FSlateColor GetSlateColor
(
const FName PropertyName, |
Styling/SlateStyle.h | ||
virtual const FSlateSound & GetSound
(
const FName PropertyName, |
Look up a sound property specified by PropertyName and optional Specifier. | Styling/SlateStyle.h | |
virtual const FName & GetStyleSetName() |
Styling/SlateStyle.h | ||
virtual UE::Slate::FDeprecateVector2DResult GetVector
(
const FName PropertyName, |
Styling/SlateStyle.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const ISlateStyle * GetParentStyle() |
Styling/SlateStyle.h | ||
bool IsBrushFromFile
(
const FString& FilePath, |
Styling/SlateStyle.h | ||
virtual void LogUnusedBrushResources() |
Styling/SlateStyle.h |
Overridden from ISlateStyle
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Styling/SlateStyle.h | |||
virtual const FSlateWidgetStyle * GetWidgetStyleInternal
(
const FName DesiredTypeName, |
Styling/SlateStyle.h | ||
| Styling/SlateStyle.h | |||
virtual void Log
(
ISlateStyle::EStyleMessageSeverity Severity, |
Styling/SlateStyle.h | ||
virtual void LogMissingResource
(
EStyleMessageSeverity Severity, |
Styling/SlateStyle.h | ||
virtual const TSharedPtr< FSlateDynamicImageBrush > MakeDynamicImageBrush
(
const FName BrushTemplate, |
Styling/SlateStyle.h |