Go to the source code of this file.
|
| #define | SLATE_ADD_MEMBER_ATTRIBUTE_DEFINITION_WITH_NAME(_Initializer, _Name, _Property, _Reason) |
| |
| #define | SLATE_ADD_MEMBER_ATTRIBUTE_DEFINITION(_Initializer, _Property, _Reason) SLATE_ADD_MEMBER_ATTRIBUTE_DEFINITION_WITH_NAME(_Initializer, GET_MEMBER_NAME_CHECKED(PrivateThisType, _Property), _Property, _Reason) |
| |
| #define | SLATE_ADD_PANELCHILDREN_DEFINITION_WITH_NAME(_Initializer, _Name, _Container) _Initializer.AddContainer(_Name, STRUCT_OFFSET(PrivateThisType, _Container)) |
| |
| #define | SLATE_ADD_PANELCHILDREN_DEFINITION(_Initializer, _Container) SLATE_ADD_PANELCHILDREN_DEFINITION_WITH_NAME(_Initializer, GET_MEMBER_NAME_CHECKED(PrivateThisType, _Container), _Container) |
| |
| #define | SLATE_ADD_SLOT_ATTRIBUTE_DEFINITION_WITH_NAME(_SlotType, _Initializer, _Name, _Property, _Reason) |
| |
| #define | SLATE_ADD_SLOT_ATTRIBUTE_DEFINITION(_SlotType, _Initializer, _Property, _Reason) SLATE_ADD_SLOT_ATTRIBUTE_DEFINITION_WITH_NAME(_SlotType, _Initializer, GET_MEMBER_NAME_CHECKED(_SlotType, _Property), _Property, _Reason) |
| |
◆ SLATE_ADD_MEMBER_ATTRIBUTE_DEFINITION
◆ SLATE_ADD_MEMBER_ATTRIBUTE_DEFINITION_WITH_NAME
Value:
static_assert(!
decltype(
_Property)::HasDefinedInvalidationReason,
"When implementing the SLATE_DECLARE_WIDGET pattern, use TSlateAttribute without the invalidation reason.");
\
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define STRUCT_OFFSET(struc, member)
Definition UnrealTemplate.h:218
static constexpr bool IsInvalidateWidgetReasonSupported(T Reason)
Definition SlateAttribute.h:188
Add a TSlateAttribute to the descriptor.
- Parameters
-
| _Initializer | The FSlateAttributeInitializer from the PrivateRegisterAttributes function. |
| _Property | The TSlateAttribute property |
| _Reason | The EInvalidationWidgetReason or a static function/lambda that takes a const SWidget& and that returns the invalidation reason. |
◆ SLATE_ADD_PANELCHILDREN_DEFINITION
◆ SLATE_ADD_PANELCHILDREN_DEFINITION_WITH_NAME
◆ SLATE_ADD_SLOT_ATTRIBUTE_DEFINITION
◆ SLATE_ADD_SLOT_ATTRIBUTE_DEFINITION_WITH_NAME
Value:
static_assert(!
decltype(
_Property)::HasDefinedInvalidationReason,
"When implementing the SLATE_DECLARE_WIDGET pattern, use TSlateSlotAttribute without the invalidation reason.");
\
\
Definition SlateAttributeDefinition.inl:43
◆ FSlateAttributeInitializer
◆ FSlateWidgetSlotAttributeInitializer