Skip to content
Snippets Groups Projects
Commit 782378ee authored by Jonathan Ehret's avatar Jonathan Ehret
Browse files

derived gameviewport from displaycluster one, so it works with ndisplay

parent 3ff28ef0
Branches
Tags
No related merge requests found
...@@ -3,18 +3,17 @@ ...@@ -3,18 +3,17 @@
#pragma once #pragma once
#include "Engine/GameViewportClient.h" #include "DisplayClusterViewportClient.h"
#include "SFGlobalFadeGameViewportClient.generated.h" #include "SFGlobalFadeGameViewportClient.generated.h"
/** /**
* A simple UGameViewportClient used to handle a global fade in/out * A simple UGameViewportClient used to handle a global fade in/out
* Always starts faded out * Always starts faded out
* It had to be derived from UDisplayClusterViewportClient instead of UGameViewportClient so it works in nDisplay
*/ */
UCLASS() UCLASS()
class STUDYFRAMEWORKPLUGIN_API USFGlobalFadeGameViewportClient : public UGameViewportClient class STUDYFRAMEWORKPLUGIN_API USFGlobalFadeGameViewportClient : public UDisplayClusterViewportClient
{ {
GENERATED_BODY() GENERATED_BODY()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment