![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "CoreMinimal.h"#include "InputCoreTypes.h"#include "Engine/EngineBaseTypes.h"#include "GenericPlatform/GenericApplication.h"Go to the source code of this file.
| DECLARE_DELEGATE_RetVal | ( | bool | , |
| FOnWindowCloseRequested | |||
| ) |
Delegate type used by UGameViewportClient when the top level window associated with the viewport has been requested to close. At this point, the viewport has not been closed and the operation may be canceled. This may not called from PIE, Editor Windows, on consoles, or before the game ends from other methods. This is only when the platform specific window is closed.
Return indicates whether or not the window may be closed.
| DECLARE_DELEGATE_RetVal_ThreeParams | ( | bool | , |
| FOnGameViewportInputKey | , | ||
| FKey | , | ||
| FModifierKeysState | , | ||
| EInputEvent | |||
| ) |
| DECLARE_MULTICAST_DELEGATE_OneParam | ( | FOnCloseRequested | , |
| FViewport * | |||
| ) |
Delegate type used by UGameViewportClient when call is made to close a viewport
The first parameter is the viewport being closed.
| DECLARE_MULTICAST_DELEGATE_OneParam | ( | FOnGameViewportClientPlayerAction | , |
| int32 | |||
| ) |
Delegate type used by UGameViewportClient for when a player is added or removed
The first parameter is the player index
| DECLARE_MULTICAST_DELEGATE_OneParam | ( | FOnGameViewportTick | , |
| float | |||
| ) |
Delegate type used by UGameViewportClient for tick callbacks
The first parameter is the time delta
| DECLARE_MULTICAST_DELEGATE_OneParam | ( | FOnToggleFullscreen | , |
| bool | |||
| ) |
Delegate type used by UGameViewportClient for when engine in toggling fullscreen
| DECLARE_MULTICAST_DELEGATE_OneParam | ( | FOnViewportRendered | , |
| FViewport * | |||
| ) |
Delegate type used by UGameViewportClient when a viewport is rendered
The first parameter is the viewport.
| DECLARE_MULTICAST_DELEGATE_ThreeParams | ( | FOnScreenshotCaptured | , |
| int32 | , | ||
| int32 | , | ||
| const TArray< FColor > & | |||
| ) |
Delegate type used by UGameViewportClient when a screenshot has been captured
The first parameter is the width. The second parameter is the height. The third parameter is the array of bitmap data.