UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FIOSWindow Class Reference

#include <IOSWindow.h>

+ Inheritance diagram for FIOSWindow:

Public Member Functions

 ~FIOSWindow ()
 
virtual voidGetOSWindowHandle () const override
 
void Initialize (class FIOSApplication *const Application, const TSharedRef< FGenericWindowDefinition > &InDefinition, const TSharedPtr< FIOSWindow > &InParent, const bool bShowImmediately)
 
virtual bool GetFullScreenInfo (int32 &X, int32 &Y, int32 &Width, int32 &Height) const override
 
- Public Member Functions inherited from FGenericWindow
APPLICATIONCORE_API FGenericWindow ()
 
virtual APPLICATIONCORE_API ~FGenericWindow ()
 
virtual APPLICATIONCORE_API void ReshapeWindow (int32 X, int32 Y, int32 Width, int32 Height)
 
virtual APPLICATIONCORE_API void MoveWindowTo (int32 X, int32 Y)
 
virtual APPLICATIONCORE_API void BringToFront (bool bForce=false)
 
virtual APPLICATIONCORE_API void HACK_ForceToFront ()
 
virtual APPLICATIONCORE_API void Destroy ()
 
virtual APPLICATIONCORE_API void Minimize ()
 
virtual APPLICATIONCORE_API void Maximize ()
 
virtual APPLICATIONCORE_API void Restore ()
 
virtual APPLICATIONCORE_API void Show ()
 
virtual APPLICATIONCORE_API void Hide ()
 
virtual APPLICATIONCORE_API void SetWindowMode (EWindowMode::Type InNewWindowMode)
 
virtual APPLICATIONCORE_API bool IsMaximized () const
 
virtual APPLICATIONCORE_API bool IsMinimized () const
 
virtual APPLICATIONCORE_API bool IsVisible () const
 
virtual APPLICATIONCORE_API bool GetRestoredDimensions (int32 &X, int32 &Y, int32 &Width, int32 &Height)
 
virtual APPLICATIONCORE_API void SetWindowFocus ()
 
virtual APPLICATIONCORE_API void SetOpacity (const float InOpacity)
 
virtual APPLICATIONCORE_API void Enable (bool bEnable)
 
virtual APPLICATIONCORE_API bool IsPointInWindow (int32 X, int32 Y) const
 
virtual APPLICATIONCORE_API int32 GetWindowBorderSize () const
 
virtual APPLICATIONCORE_API int32 GetWindowTitleBarSize () const
 
virtual APPLICATIONCORE_API bool IsForegroundWindow () const
 
virtual APPLICATIONCORE_API bool IsFullscreenSupported () const
 
virtual APPLICATIONCORE_API void SetText (const TCHAR *const Text)
 
virtual APPLICATIONCORE_API const FGenericWindowDefinitionGetDefinition () const
 
virtual APPLICATIONCORE_API bool IsDefinitionValid () const
 
virtual APPLICATIONCORE_API void AdjustCachedSize (FVector2D &Size) const
 
virtual APPLICATIONCORE_API float GetDPIScaleFactor () const
 
virtual APPLICATIONCORE_API void SetDPIScaleFactor (const float Factor)
 
virtual APPLICATIONCORE_API bool IsManualManageDPIChanges () const
 
virtual APPLICATIONCORE_API void SetManualManageDPIChanges (const bool bAutoHandle)
 
virtual APPLICATIONCORE_API void DrawAttention (const FWindowDrawAttentionParameters &Parameters)
 
virtual APPLICATIONCORE_API void SetNativeWindowButtonsVisibility (bool bVisible)
 

Static Public Member Functions

static TSharedRef< FIOSWindowMake ()
 
static FPlatformRect GetScreenRect ()
 
static void OnScaleFactorChanged (IConsoleVariable *CVar)
 
static void OnConsoleResolutionChanged (IConsoleVariable *CVar)
 

Protected Member Functions

virtual EWindowMode::Type GetWindowMode () const override
 

Additional Inherited Members

- Protected Attributes inherited from FGenericWindow
TSharedPtr< FGenericWindowDefinitionDefinition
 

Detailed Description

A platform specific implementation of FNativeWindow. Native windows provide platform-specific backing for and are always owned by an SWindow.

Constructor & Destructor Documentation

◆ ~FIOSWindow()

FIOSWindow::~FIOSWindow ( )

Member Function Documentation

◆ GetFullScreenInfo()

bool FIOSWindow::GetFullScreenInfo ( int32 X,
int32 Y,
int32 Width,
int32 Height 
) const
overridevirtual

Returns the rectangle of the screen the window is associated with

Reimplemented from FGenericWindow.

◆ GetOSWindowHandle()

virtual void * FIOSWindow::GetOSWindowHandle ( ) const
inlineoverridevirtual

Returns a void pointer to the hWnd (for other apis)

Reimplemented from FGenericWindow.

◆ GetScreenRect()

FPlatformRect FIOSWindow::GetScreenRect ( )
static

Returns a rect describing the main screen

◆ GetWindowMode()

virtual EWindowMode::Type FIOSWindow::GetWindowMode ( ) const
inlineoverrideprotectedvirtual
Returns
true if the native window is currently in fullscreen mode, false otherwise

Reimplemented from FGenericWindow.

◆ Initialize()

void FIOSWindow::Initialize ( class FIOSApplication *const  Application,
const TSharedRef< FGenericWindowDefinition > &  InDefinition,
const TSharedPtr< FIOSWindow > &  InParent,
const bool  bShowImmediately 
)

◆ Make()

TSharedRef< FIOSWindow > FIOSWindow::Make ( )
static

Create a new FIOSWindow.

Parameters
OwnerWindowThe SlateWindow for which we are crating a backing IOSWindow
InParentParent iOS window; usually NULL.

◆ OnConsoleResolutionChanged()

void FIOSWindow::OnConsoleResolutionChanged ( IConsoleVariable CVar)
static

◆ OnScaleFactorChanged()

void FIOSWindow::OnScaleFactorChanged ( IConsoleVariable CVar)
static

Callbacks for Cvar changes "r.MobileContentScaleFactor" and "r.Mobile.DesiredResX/Y" respectively


The documentation for this class was generated from the following files: