Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Components/SlateWrapperTypes.h |
Include |
#include "Components/SlateWrapperTypes.h" |
enum ESlateVisibility
{
Visible,
Collapsed,
Hidden,
HitTestInvisible,
SelfHitTestInvisible,
}
Name |
Description |
---|---|
Visible |
Visible and hit-testable (can interact with cursor). Default value. |
Collapsed |
Not visible and takes up no space in the layout (obviously not hit-testable). |
Hidden |
Not visible but occupies layout space (obviously not hit-testable). |
HitTestInvisible |
Visible but not hit-testable (cannot interact with cursor) and children in the hierarchy (if any) are also not hit-testable. |
SelfHitTestInvisible |
Visible but not hit-testable (cannot interact with cursor) and doesn't affect hit-testing on children (if any). |
Is an entity visible?