FSlateStyleRegistry

A central repository that can be used to track and manage chunks of slate style data.

Windows
MacOS
Linux

References

Module

SlateCore

Header

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

Include

#include "Styling/SlateStyleRegistry.h"

Syntax

class FSlateStyleRegistry

Remarks

A central repository that can be used to track and manage chunks of slate style data.

Functions

Name Description

Public function Static

const ISlate...

 

FindSlateStyle

(
    const FName& InSlateStyleName
)

Find a slate style in the repository.

Public function Static

void

 

GetAllResources

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

Populate an array of slate brushes with all of the resources used by the registered styles.

Public function Static

TArray< FNam...

 

GetSylesUsingBrush

(
    const FName BrushName
)

Gets the names of every style entry using a brush

Public function Static

bool

 

IterateAllStyles

(
    const TFunctionRef< bool...
)

Iterate all the slate style known to this registry

Public function Static

void

 

RegisterSlateStyle

(
    const ISlateStyle& InSlateStyle
)

Add a slate style to the repository.

Public function Static

void

 

UnRegisterSlateStyle

(
    const ISlateStyle& InSlateStyle
)

Remove a slate style from the repository.

Public function Static

void

 

UnRegisterSlateStyle

(
    const FName StyleSetName
)

Removes a slate style from the repository (by name).

Constants

Name

Description

SlateStyleRepository

Repository is just a collection of shared style pointers.

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