/Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h
an attribute reference of VisibilityAttribute
[TSlateAttributeRef](API\Runtime\SlateCore\Widgets\SWidget\TSlateAttributeRef)< [EVisibility](API\Runtime\SlateCore\Layout\EVisibility) > GetVisibilityAttribute() const