TSlateBaseNamedArgs::Visibility

Bind attribute with delegate to a shared pointer-based class method.

Windows
MacOS
Linux

References

Module

SlateCore

Header

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

Include

#include "Widgets/DeclarativeSyntaxSupport.h"

Syntax

template<class UserClass>
WidgetArgsType & Visibility
(
    UserClass * InUserObject,
    typename TAttribute< EVisibility >::FGetter::template TSPMethodDelegate_Const< UserClass >::FMethodPtr InFunc
)

Remarks

Bind attribute with delegate to a shared pointer-based class method. Slate mostly uses shared pointers so we use an overload for this type of binding.

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