SViewport::SetActive

Sets whether this viewport is active.

Choose your operating system:

Windows

macOS

Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/SViewport.h

Include

#include "Widgets/SViewport.h"

Source

/Engine/Source/Runtime/Slate/Private/Widgets/SViewport.cpp

Syntax

void SetActive
(
    bool bActive
)

Remarks

Sets whether this viewport is active. While active, a persistent Active Timer is registered and a Slate tick/paint pass is guaranteed every frame.

Parameters

Parameter

Description

bActive

Whether to set the viewport as active