FEditorStyle

A collection of named properties that guide the appearance of Slate.

Choose your operating system:

Windows

macOS

Linux

References

Module

EditorStyle

Header

/Engine/Source/Editor/EditorStyle/Public/EditorStyleSet.h

Include

#include "EditorStyleSet.h"

Syntax

class FEditorStyle

Remarks

A collection of named properties that guide the appearance of Slate.

Functions

Name Description

Public function Static

const ISlate...

 

Get()

Until the Editor can be fully updated, calling FEditorStyle::Get() or any of its static convenience functions will will return the AppStyle instead of the style definied in this class.

Public function Static

const FSlate...

 

GetBrush

(
    FName PropertyName,
    const ANSICHAR* Specifier
)

Public function Static

const FLinea...

 

GetColor

(
    FName PropertyName,
    const ANSICHAR* Specifier
)

Public function Static

const FSlate...

 

GetDefaultBrush()

Public function Static

const TShare...

 

GetDynamicImageBrush

(
    FName BrushTemplate,
    FName TextureName,
    const ANSICHAR* Specifier
)

Public function Static

const TShare...

 

GetDynamicImageBrush

(
    FName BrushTemplate,
    UTexture2D* TextureResource,
    FName TextureName
)

Public function Static

const TShare...

 

GetDynamicImageBrush

(
    FName BrushTemplate,
    const ANSICHAR* Specifier,
    UTexture2D* TextureResource,
    FName TextureName
)

Public function Static

float

 

GetFloat

(
    FName PropertyName,
    const ANSICHAR* Specifier
)

Public function Static

FSlateFontIn...

 

GetFontStyle

(
    FName PropertyName,
    const ANSICHAR* Specifier
)

Public function Static

const FMargi...

 

GetMargin

(
    FName PropertyName,
    const ANSICHAR* Specifier
)

Public function Static

const FSlate...

 

GetNoBrush()

Public function Static

const FSlate...

 

GetOptionalBrush

(
    FName PropertyName,
    const ANSICHAR* Specifier,
    const FSlateBrush*const Defaul...
)

Public function Static

void

 

GetResources

(
    TArray< const FSlateBrush* >&...
)

Public function Static

const FSlate...

 

GetSlateColor

(
    FName PropertyName,
    const ANSICHAR* Specifier
)

Public function Static

const FSlate...

 

GetSound

(
    FName PropertyName,
    const ANSICHAR* Specifier
)

Public function Static

const FName ...

 

GetStyleSetName()

Public function Static

FVector2D

 

GetVector

(
    FName PropertyName,
    const ANSICHAR* Specifier
)

Public function Static

const T &

 

GetWidgetStyle

(
    FName PropertyName,
    const ANSICHAR* Specifier
)

Public function Static

FName

 

Join

(
    FName A,
    const ANSICHAR* B
)

Concatenates two FNames.e If A and B are "Path.To" and ".Something" the result "Path.To.Something".

Public function Static

void

 

ResetToDefault()

Protected function Static

void

 

SetStyle

(
    const TSharedRef< class ISlateStyle...
)

Constants

Name

Description

Instance

Singleton instance of the slate style