![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <DeclarativeSyntaxSupport.h>
Public Member Functions | |
| TSlateDecl (const ANSICHAR *InType, const ANSICHAR *InFile, int32 OnLine, RequiredArgsPayloadType &&InRequiredArgs) | |
| template<class ExposeAsWidgetType > | |
| TSlateDecl && | Expose (TSharedPtr< ExposeAsWidgetType > &OutVarToInit) && |
| template<class ExposeAsWidgetType > | |
| TSlateDecl && | Expose (TSharedRef< ExposeAsWidgetType > &OutVarToInit) && |
| template<class ExposeAsWidgetType > | |
| TSlateDecl && | Expose (TWeakPtr< ExposeAsWidgetType > &OutVarToInit) && |
| TSharedRef< WidgetType > | operator<<= (const typename WidgetType::FArguments &InArgs) && |
Public Attributes | |
| TSharedPtr< WidgetType > | _Widget |
| RequiredArgsPayloadType & | _RequiredArgs |
Utility class used during widget instantiation. Performs widget allocation and construction. Ensures that debug info is set correctly. Returns TSharedRef to widget.
|
inline |
SUserWidgets are allocated in the corresponding CPP file, so that the implementer can return an implementation that differs from the public interface.
Normal widgets are allocated directly by the TSlateDecl.
|
inline |
Initialize OutVarToInit with the widget that is being constructed.
|
inline |
Initialize OutVarToInit with the widget that is being constructed.
|
inline |
Initialize a WEAK OutVarToInit with the widget that is being constructed.
|
inline |
Complete widget construction from InArgs.
| InArgs | NamedArguments from which to construct the widget. |
| RequiredArgsPayloadType& TSlateDecl< WidgetType, RequiredArgsPayloadType >::_RequiredArgs |
| TSharedPtr<WidgetType> TSlateDecl< WidgetType, RequiredArgsPayloadType >::_Widget |