SWidget::SWidget

Hidden default constructor. Use SNew(WidgetClassName) to instantiate new widgets.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h

Include

#include "Widgets/SWidget.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Widgets/SWidget.cpp

Syntax

SWidget()

Remarks

Hidden default constructor.

Use SNew(WidgetClassName) to instantiate new widgets.

See Also

SNew

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