9#include "CanvasTypes.h"
16 FCanvasTileItem TileItem(FVector2D(0, 0),
texture, FVector2D(
width,
height), FLinearColor::White);
17 TileItem.BlendMode = ESimpleElementBlendMode::SE_BLEND_Opaque;
18 Canvas->DrawItem(TileItem);
22 Canvas->Clear(FLinearColor::Black);
virtual bool InputGesture(FViewport *Viewport, EGestureEvent GestureType, const FVector2D &GestureDelta, bool bIsDirectionInvertedFromDevice) override
virtual bool InputAxis(FViewport *Viewport, int32 ControllerId, FKey Key, float Delta, float DeltaTime, int32 NumSamples=1, bool bGamepad=false) 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