Unreal access to the PixoVR Platform
Loading...
Searching...
No Matches
PPlatformCore.h
Go to the documentation of this file.
1// Copyright 2023 PixoVR Corp. All Rights Reserved.
2
3#pragma once
4
5#include "Modules/ModuleManager.h"
6
8
9class PIXOPLATFORMCORE_API FPPlatformCoreModule : public IModuleInterface
10{
11public:
13 virtual void StartupModule() override;
14 virtual void ShutdownModule() override;
15
22 static inline FPPlatformCoreModule& Get()
23 {
24 return FModuleManager::LoadModuleChecked<FPPlatformCoreModule>("PixoPlatformCore");
25 }
26
32 static inline bool IsAvailable()
33 {
34 return FModuleManager::Get().IsModuleLoaded("PixoPlatformCore");
35 }
36
38 UPPlatformCoreSettings* GetSettings() const;
39
40 bool HandleSettingsSaved();
41
42protected:
45};
static bool IsAvailable()
UPPlatformCoreSettings * ModuleSettings
static FPPlatformCoreModule & Get()
UCLASS(config = Game, defaultconfig)