RealtimeStyleTransferRuntime/Source/LyraGame/Settings/CustomSettings/LyraSettingAction_SafeZoneE...

35 lines
808 B
C
Raw Normal View History

2022-05-23 18:41:30 +00:00
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "GameSettingAction.h"
#include "GameSettingValueScalarDynamic.h"
#include "LyraSettingAction_SafeZoneEditor.generated.h"
UCLASS()
class ULyraSettingValueScalarDynamic_SafeZoneValue : public UGameSettingValueScalarDynamic
{
GENERATED_BODY()
public:
virtual void ResetToDefault() override;
virtual void RestoreToInitial() override;
};
UCLASS()
class ULyraSettingAction_SafeZoneEditor : public UGameSettingAction
{
GENERATED_BODY()
public:
ULyraSettingAction_SafeZoneEditor();
virtual TArray<UGameSetting*> GetChildSettings() override;
private:
UPROPERTY()
ULyraSettingValueScalarDynamic_SafeZoneValue* SafeZoneValueSetting;
};