Operating System Simulator Plugin
3.5.1
Unreal Engine plugin that simulates an Operating System Environment
|
#include "ViewportWorldGameClient.h"
Public Member Functions | |
void | SetLocalPlayer (ULocalPlayer *NewLocalPlayer) |
Set the local player associated with the viewport world game client. | |
void | SetViewportWorldRenderingMode (const EViewportWorldRenderingMode &NewRenderingMode) |
Set the rendering mode for the viewport world. | |
bool | SetViewportWorldViewMode (const EViewportWorldViewMode &NewViewMode) |
Sets the view mode for the viewport world. | |
void | SetFastPostProcess (const FPostProcessSettings &NewPostProcessSettings) |
Set the fast post-process settings for the viewport world game client. | |
void | MarkAsSecondaryWorld () |
Marks the viewport world game client as a secondary world. | |
VIEWPORTWORLDS_API bool | IsSecondaryViewport () const |
Returns a boolean value indicating whether the current viewport is a secondary viewport or not. A secondary viewport is a viewport that is not the primary viewport and is used for purposes such as split-screen or multi-window support. | |
VIEWPORTWORLDS_API TOptional< EViewportWorldRenderingMode > | GetCurrentRenderingMode () const |
Retrieves the current rendering mode for the viewport world game client. This method returns the current rendering mode for the viewport world game client. The rendering mode determines the quality of the rendering and the performance impact it has. | |
FORCEINLINE EViewModeIndex | GetCurrentViewMode () const |
Get the current view mode. | |
A class that represents the game client for a viewport world. This class inherits from UGameViewportClient and adds additional functionality specific to viewport worlds.
TOptional< EViewportWorldRenderingMode > UViewportWorldGameClient::GetCurrentRenderingMode | ( | ) | const |
Retrieves the current rendering mode for the viewport world game client. This method returns the current rendering mode for the viewport world game client. The rendering mode determines the quality of the rendering and the performance impact it has.
|
inline |
Get the current view mode.
This method returns the current view mode for the viewport world. The view mode determines how the world is displayed in the viewport.
|
inline |
Returns a boolean value indicating whether the current viewport is a secondary viewport or not. A secondary viewport is a viewport that is not the primary viewport and is used for purposes such as split-screen or multi-window support.
void UViewportWorldGameClient::MarkAsSecondaryWorld | ( | ) |
Marks the viewport world game client as a secondary world.
This method sets the flag bIsSecondaryWorld to true, indicating that the game client represents a secondary world in the viewport.
void UViewportWorldGameClient::SetFastPostProcess | ( | const FPostProcessSettings & | NewPostProcessSettings | ) |
Set the fast post-process settings for the viewport world game client.
This method allows the user to set the fast post-process settings for the viewport world game client. The fast post-process settings control the post-processing effects applied to the rendered image in the viewport world.
NewPostProcessSettings | The new post-process settings to be applied. |
void UViewportWorldGameClient::SetLocalPlayer | ( | ULocalPlayer * | NewLocalPlayer | ) |
Set the local player associated with the viewport world game client.
This method allows you to set the local player associated with the viewport world game client. The local player represents the player who controls the in-game character in the viewport world.
NewLocalPlayer | The local player to set. |
void UViewportWorldGameClient::SetViewportWorldRenderingMode | ( | const EViewportWorldRenderingMode & | NewRenderingMode | ) |
Set the rendering mode for the viewport world.
This method allows you to set the rendering mode for the viewport world. The rendering mode determines how the scene is rendered in the viewport.
NewRenderingMode | The rendering mode to set. The possible values are:
|
bool UViewportWorldGameClient::SetViewportWorldViewMode | ( | const EViewportWorldViewMode & | NewViewMode | ) |
Sets the view mode for the viewport world.
This method allows you to set the view mode for the viewport world. The view mode determines how the scene is rendered in the viewport. The possible values for the NewViewMode parameter are:
NewViewMode | The view mode to set. |