Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/SViewport
Description
Sets whether this viewport is active. While active, a persistent Active Timer is registered and a Slate tick/paint pass is guaranteed every frame.
| Name | SetActive |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/SViewport.h |
| Include Path | #include "Widgets/SViewport.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Widgets/SViewport.cpp |
void SetActive
(
bool bActive
)
Parameters
| Name | Remarks |
|---|---|
| bActive | Whether to set the viewport as active |