8#include "CoreMinimal.h"
10#include "Engine/World.h"
11#include "UnrealClient.h"
12#include "RenderResource.h"
13#include "Engine/TextureRenderTarget2D.h"
14#include "ViewportClient.h"
26 virtual void Draw(FViewport* Viewport, FCanvas* Canvas)
override;
27 virtual bool InputKey(FViewport* Viewport, int32 ControllerId, FKey Key, EInputEvent Event,
float AmountDepressed = 1.0f,
bool bGamepad =
false)
override;
28 virtual bool InputAxis(FViewport* Viewport, int32 ControllerId, FKey Key,
float Delta,
float DeltaTime, int32 NumSamples = 1,
bool bGamepad =
false)
override;
29 virtual bool InputGesture(FViewport* Viewport, EGestureEvent GestureType,
const FVector2D& GestureDelta,
bool bIsDirectionInvertedFromDevice)
override;
30 virtual UWorld*
GetWorld()
const override {
return nullptr; }
virtual void RedrawRequested(FViewport *Viewport) override
virtual bool InputGesture(FViewport *Viewport, EGestureEvent GestureType, const FVector2D &GestureDelta, bool bIsDirectionInvertedFromDevice) override
TWeakObjectPtr< UTextureRenderTarget2D > TextRenderTarget2D
virtual bool InputAxis(FViewport *Viewport, int32 ControllerId, FKey Key, float Delta, float DeltaTime, int32 NumSamples=1, bool bGamepad=false) override
virtual UWorld * GetWorld() const override
virtual void Draw(FViewport *Viewport, FCanvas *Canvas) override
virtual bool InputKey(FViewport *Viewport, int32 ControllerId, FKey Key, EInputEvent Event, float AmountDepressed=1.0f, bool bGamepad=false) override