8#include "CoreMinimal.h"
9#include "Slate/SceneViewport.h"
10#include "Widgets/SViewport.h"
11#include "Widgets/SWindow.h"
12#include "TextureResource.h"
46 FUnrealWindow(int32 Width, int32 Height, FString WindowName =
"Camera");
TSharedPtr< FUnrealWindowViewportClient > ViewportClient
TSharedPtr< SWindow > GetSWindow()
void UpdateTexture(FTextureResource *Texture)
FOnWindowClosed onWindowClosedDelegate
void SetupComponent(UTextureRenderTarget2D *TextureRenderTarget)
TSharedPtr< SUnrealWindowViewport > Viewport
TSharedPtr< FSceneViewport > GetSceneViewport()
void AddUWidgetToWindow(UWidget *WidgetToAdd)
void SetAutomaticDraw(bool Draw)
void OnWindowClosed(const TSharedRef< SWindow > &Window)
TArray< FAddedWidgetInfo > AddedWidgets
FUnrealWindow(int32 Width, int32 Height, FString WindowName="Camera")
void ResizeWindow(int32 Width, int32 Height)
TSharedPtr< SWindow > sWindow
TSharedPtr< FSceneViewport > SceneViewport
TSharedPtr< SViewport > sViewport
TSharedPtr< SOverlay > FullScreenOverlay
void RemoveUWidgetFromWindow(UWidget *WidgetToRemove)