Files

26 lines
799 B
C
Raw Permalink Normal View History

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Engine/DeveloperSettings.h"
#include "DrawPrimitiveDebuggerConfig.generated.h"
UCLASS(config = EditorPerProjectUserSettings, meta = (DisplayName = "Draw Primitive Debugger"))
class DRAWPRIMITIVEDEBUGGER_API UDrawPrimitiveDebuggerUserSettings : public UDeveloperSettings
{
GENERATED_BODY()
protected:
virtual FName GetCategoryName() const override { return TEXT("Advanced"); }
public:
static int32 GetFontSize() { return GetDefault<UDrawPrimitiveDebuggerUserSettings>()->FontSize; }
static void SetFontSize(const int32 InFontSize);
protected:
/** Font Size used by Draw Primitive Debugger */
UPROPERTY(config, EditAnywhere, Category = DrawPrimitiveDebugger)
int32 FontSize = 10;
};