You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
35 lines
944 B
C++
35 lines
944 B
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "HeadMountedDisplayPrivate.h"
|
|
|
|
class FHeadMountedDisplayModule : public IHeadMountedDisplayModule
|
|
{
|
|
virtual TSharedPtr< class IHeadMountedDisplay, ESPMode::ThreadSafe > CreateHeadMountedDisplay()
|
|
{
|
|
TSharedPtr<IHeadMountedDisplay, ESPMode::ThreadSafe> DummyVal = NULL;
|
|
return DummyVal;
|
|
}
|
|
|
|
FString GetModulePriorityKeyName() const
|
|
{
|
|
return FString(TEXT("Default"));
|
|
}
|
|
};
|
|
|
|
IMPLEMENT_MODULE( FHeadMountedDisplayModule, HeadMountedDisplay );
|
|
|
|
IHeadMountedDisplay::IHeadMountedDisplay()
|
|
{
|
|
PreFullScreenRect = FSlateRect(-1.f, -1.f, -1.f, -1.f);
|
|
}
|
|
|
|
void IHeadMountedDisplay::PushPreFullScreenRect(const FSlateRect& InPreFullScreenRect)
|
|
{
|
|
PreFullScreenRect = InPreFullScreenRect;
|
|
}
|
|
|
|
void IHeadMountedDisplay::PopPreFullScreenRect(FSlateRect& OutPreFullScreenRect)
|
|
{
|
|
OutPreFullScreenRect = PreFullScreenRect;
|
|
PreFullScreenRect = FSlateRect(-1.f, -1.f, -1.f, -1.f);
|
|
} |