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 Note: this function is expensive and is not designed to be used in performance critical situations

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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback