Files
UnrealEngine/Engine/Source/Runtime/UMG/Public/UMGStyle.h
2025-05-18 13:04:45 +08:00

33 lines
594 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Styling/SlateStyle.h"
/** */
class FUMGStyle
{
public:
static UMG_API void Initialize();
static UMG_API void Shutdown();
/** reloads textures used by slate renderer */
static UMG_API void ReloadTextures();
/** @return The Slate style set for the UMG Style */
static UMG_API const ISlateStyle& Get();
static UMG_API FName GetStyleSetName();
private:
static TSharedRef< class FSlateStyleSet > Create();
private:
static TSharedPtr< class FSlateStyleSet > UMGStyleInstance;
};