ISlateStyle

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
)

Public function Const

const FLinea...

 

GetColor

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

Public function Const

FSlateBrush ...

 

GetDefaultBrush()

Get default FSlateBrush.

Public function

const TShare...

 

GetDynamicImageBrush

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

Public function

const TShare...

 

GetDynamicImageBrush

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

Public function

const TShare...

 

GetDynamicImageBrush

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

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
)

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
)

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
)

Public function Const

const FSlate...

 

GetSound

(
    const FName PropertyName,
    const ANSICHAR* Specifier
)

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

Public function Const

const FName ...

 

GetStyleSetName()

Public function Const

FVector2D

 

GetVector

(
    const FName PropertyName,
    const ANSICHAR* Specifier,
    FVector2D DefaultValue
)

Public function Const

const Widget...

 

GetWidgetStyle

(
    FName PropertyName,
    const ANSICHAR* Specifier
)

Protected function Const

const FSlate...

 

GetWidgetStyleInternal

(
    const FName DesiredTypeName,
    const FName StyleName
)

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
)

Enums

Name

Description

Protected enum

EStyleMessageSeverity

The severity of the message type Ordered according to their severity

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss