FViewport::SetGameRenderingEnabled

Globally enables/disables rendering

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/UnrealClient.h

Include

#include "UnrealClient.h"

Source

/Engine/Source/Runtime/Engine/Private/UnrealClient.cpp

Syntax

static void SetGameRenderingEnabled
(
    bool bIsEnabled,
    int32 PresentAndStopMovieDelay
)

Remarks

Globally enables/disables rendering

Parameters

Parameter

Description

bIsEnabled

true if drawing should occur

PresentAndStopMovieDelay

Number of frames to delay before enabling bPresent in RHIEndDrawingViewport, and before stopping the movie

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss