TDecl::Expose

Initialize OutVarToInit with the widget that is being constructed.

Windows
MacOS
Linux

References

Module

SlateCore

Header

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

Include

#include "Widgets/DeclarativeSyntaxSupport.h"

Syntax

template<class ExposeAsWidgetType>
TDecl & Expose
(
    TSharedPtr< ExposeAsWidgetType > & OutVarToInit
)

Remarks

Initialize OutVarToInit with the widget that is being constructed.

See Also

SAssignNew

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