![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SlateStyleRegistry.h>
Static Public Member Functions | |
| static SLATECORE_API void | RegisterSlateStyle (const ISlateStyle &InSlateStyle) |
| static SLATECORE_API void | UnRegisterSlateStyle (const ISlateStyle &InSlateStyle) |
| static SLATECORE_API void | UnRegisterSlateStyle (const FName StyleSetName) |
| static SLATECORE_API const ISlateStyle * | FindSlateStyle (const FName &InSlateStyleName) |
| static SLATECORE_API bool | IterateAllStyles (const TFunctionRef< bool(const ISlateStyle &)> &Iter) |
| static SLATECORE_API void | GetAllResources (TArray< const FSlateBrush * > &OutResources) |
| static SLATECORE_API TArray< FName > | GetSylesUsingBrush (const FName BrushName) |
A central repository that can be used to track and manage chunks of slate style data.
|
static |
Find a slate style in the repository.
| InSlateStyleName | The name of the slate style to find. |
|
static |
Populate an array of slate brushes with all of the resources used by the registered styles.
| OutResources | Array of slate brushes to populate. |
Gets the names of every style entry using a brush Note: this function is expensive and is not designed to be used in performance critical situations
| BrushName | The name of the brush to find style entries from |
|
static |
Iterate all the slate style known to this registry
| Iter | A predicate to call for each known style that returns true to continue iteration, and false to terminate iteration |
|
static |
Add a slate style to the repository.
| ISlateStyle | interface to a user-definable style to add. |
Removes a slate style from the repository (by name).
| StyleSetName | The name of the style set to remove. |
|
static |
Remove a slate style from the repository.
| ISlateStyle | Interface to the style to remove. |