SViewport::SetContent

Sets the content for this widget

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 SetContent
(
    TSharedPtr< SWidget > InContent
)

Remarks

Sets the content for this widget

Parameters

Parameter

Description

InContent

The new content (can be null)