UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IOSWindow.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
7#import <UIKit/UIKit.h>
8
14{
15public:
17
23 static TSharedRef<FIOSWindow> Make();
24
26 static FPlatformRect GetScreenRect();
27
29 virtual void* GetOSWindowHandle() const override { return Window; }
30
32
34 virtual bool GetFullScreenInfo( int32& X, int32& Y, int32& Width, int32& Height ) const override;
35
37 static void OnScaleFactorChanged(IConsoleVariable* CVar);
38 static void OnConsoleResolutionChanged(IConsoleVariable* CVar);
39
40protected:
42 virtual EWindowMode::Type GetWindowMode() const override { return EWindowMode::Fullscreen; }
43
44private:
48 FIOSWindow();
49
50 FIOSApplication* OwningApplication;
51
54
56 int32 RegionX;
57 int32 RegionY;
58};
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define X(Name, Desc)
Definition FormatStringSan.h:47
Definition GenericWindow.h:94
virtual APPLICATIONCORE_API bool GetFullScreenInfo(int32 &X, int32 &Y, int32 &Width, int32 &Height) const
Definition GenericWindow.cpp:24
Definition IOSApplication.h:12
Definition IOSWindow.h:14
virtual EWindowMode::Type GetWindowMode() const override
Definition IOSWindow.h:42
virtual void * GetOSWindowHandle() const override
Definition IOSWindow.h:29
Definition IConsoleManager.h:558
Definition SharedPointer.h:692
Definition SharedPointer.h:153
Type
Definition GenericWindow.h:17
@ Fullscreen
Definition GenericWindow.h:19
Definition GenericApplication.h:320