RealtimeStyleTransferRuntime/Source/LyraEditor/LyraEditorEngine.h

32 lines
837 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 "Editor/UnrealEdEngine.h"
#include "LyraEditorEngine.generated.h"
UCLASS()
class ULyraEditorEngine : public UUnrealEdEngine
{
GENERATED_BODY()
public:
ULyraEditorEngine(const FObjectInitializer& ObjectInitializer = FObjectInitializer::Get());
protected:
virtual void Init(IEngineLoop* InEngineLoop) override;
virtual void Start() override;
virtual void Tick(float DeltaSeconds, bool bIdleMode) override;
virtual FGameInstancePIEResult PreCreatePIEInstances(const bool bAnyBlueprintErrors, const bool bStartInSpectatorMode, const float PIEStartTime, const bool bSupportsOnlinePIE, int32& InNumOnlinePIEInstances) override;
private:
void FirstTickSetup();
bool bFirstTickSetup = false;
};