FCoreStyle

Core slate style

Windows
MacOS
Linux

References

Module

SlateCore

Header

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

Include

#include "Styling/CoreStyle.h"

Syntax

class FCoreStyle

Remarks

Core slate style

Functions

Name Description

Public function Static

TSharedRef< ...

 

Create

(
    const FName& InStyleSetName
)

Public function Static

const ISlate...

 

Get()

Public function Static

TSharedRef< ...

 

GetDefaultFont()

Get the default font for Slate

Public function Static

FSlateFontIn...

 

GetDefaultFontStyle

(
    const FName InTypefaceFontName,
    const int32 InSize,
    const FFontOutlineSettings& InOutl...
)

Get a font style using the default for for Slate

Public function Static

const TShare...

 

GetDynamicImageBrush

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

Todo: jdale - These are only here because of UTouchInterface::Activate and the fact that GetDynamicImageBrush is non-const

Public function Static

const TShare...

 

GetDynamicImageBrush

(
    FName BrushTemplate,
    UTexture2D* TextureResource,
    FName TextureName
)

Todo: jdale - These are only here because of UTouchInterface::Activate and the fact that GetDynamicImageBrush is non-const

Public function Static

const TShare...

 

GetDynamicImageBrush

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

Todo: jdale - These are only here because of UTouchInterface::Activate and the fact that GetDynamicImageBrush is non-const

Public function Static

void

 

ResetToDefault()

Public function Static

void

 

SetFocusBrush

(
    FSlateBrush* NewBrush
)

Public function Static

void

 

SetInactiveSelectionColor

(
    const FLinearColor& NewColor
)

Public function Static

void

 

SetPressedSelectionColor

(
    const FLinearColor& NewColor
)

Public function Static

void

 

SetSelectionColor

(
    const FLinearColor& NewColor
)

Public function Static

void

 

SetSelectorColor

(
    const FLinearColor& NewColor
)

Used to override the default selection colors

Constants

Name

Description

Instance

Singleton instances of this style.

RegularTextSize

SmallTextSize

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