ISlateStyle

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Styling/ISlateStyle.h

Include

#include "Styling/ISlateStyle.h"

Syntax

class ISlateStyle

Constructors

Name Description

Public function

ISlateStyle()

Constructor.

Destructors

Name Description

Public function Virtual

~ISlateStyle()

Destructor.

Functions

Name Description

Public function Const

const FSlate...

 

GetBrush

(
    const FName PropertyName,
    const ANSICHAR* Specifier,
    const ISlateStyle* RequestingS...
)

Public function Const

const FLinea...

 

GetColor

(
    const FName PropertyName,
    const ANSICHAR* Specifier,
    const FLinearColor& DefaultValue,
    const ISlateStyle* RequestingS...
)

Public function Const

FString

 

GetContentRootDir()

Public function Const

FSlateBrush ...

 

GetDefaultBrush()

Get default FSlateBrush.

Public function Const

const TShare...

 

GetDynamicImageBrush

(
    const FName BrushTemplate,
    const FName TextureName,
    const ANSICHAR* Specifier,
    const ISlateStyle* RequestingS...
)

Public function Const

const TShare...

 

GetDynamicImageBrush

(
    const FName BrushTemplate,
    UTexture2D* TextureResource,
    const FName TextureName,
    const ISlateStyle* RequestingS...
)

Public function Const

const TShare...

 

GetDynamicImageBrush

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

Public function Const

TArray< FNam...

 

GetEntriesUsingBrush

(
    const FName BrushName
)

Gets the names of every style entry using a brush in this style

Public function Const

float

 

GetFloat

(
    const FName PropertyName,
    const ANSICHAR* Specifier,
    float DefaultValue,
    const ISlateStyle* RequestingS...
)

Public function Const

FSlateFontIn...

 

GetFontStyle

(
    const FName PropertyName,
    const ANSICHAR* Specifier
)

Public function Const

const FMargi...

 

GetMargin

(
    const FName PropertyName,
    const ANSICHAR* Specifier,
    const FMargin& DefaultValue,
    const ISlateStyle* RequestingS...
)

Public function Const

const FSlate...

 

GetOptionalBrush

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

Just like GetBrush, but returns DefaultBrush instead of the "missing brush" image when the resource is not found.

Public function Const

void

 

GetResources

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

Populate an array of FSlateBrush with resources consumed by this style.

Public function Const

const FSlate...

 

GetSlateColor

(
    const FName PropertyName,
    const ANSICHAR* Specifier,
    const FSlateColor& DefaultValue,
    const ISlateStyle* RequestingS...
)

Public function Const

const FSlate...

 

GetSound

(
    const FName PropertyName,
    const ANSICHAR* Specifier,
    const ISlateStyle* RequestingS...
)

Look up a sound property specified by PropertyName and optional Specifier.

Public function Const

TSet< FName ...

 

GetStyleKeys()

Public function Const

const FName ...

 

GetStyleSetName()

Public function Const

FVector2D

 

GetVector

(
    const FName PropertyName,
    const ANSICHAR* Specifier,
    FVector2D DefaultValue,
    const ISlateStyle* RequestingS...
)

Public function Const

const Widget...

 

GetWidgetStyle

(
    FName PropertyName,
    const ANSICHAR* Specifier,
    const WidgetStyleType* Default...
)

Protected function Const

const FSlate...

 

GetWidgetStyleInternal

(
    const FName DesiredTypeName,
    const FName StyleName,
    const FSlateWidgetStyle* Defau...,
    bool bWarnIfNotFound
)

Public function Const

bool

 

HasWidgetStyle

(
    FName PropertyName,
    const ANSICHAR* Specifier
)

Public function Static

FName

 

Join

(
    FName A,
    const ANSICHAR* B
)

Protected function Const

void

 

Log

(
    EStyleMessageSeverity Severity,
    const FText& Message
)

Protected function Const

void

 

LogMissingResource

(
    EStyleMessageSeverity Severity,
    const FText& Message,
    const FName& MissingResource
)

Protected function Const

const TShare...

 

MakeDynamicImageBrush

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

Enums

Name

Description

Protected enum

EStyleMessageSeverity

The severity of the message type Ordered according to their severity