ESlateVisibility

Is an entity visible?

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Components/SlateWrapperTypes.h

Include

#include "Components/SlateWrapperTypes.h"

Syntax

enum ESlateVisibility
{
    Visible,
    Collapsed,
    Hidden,
    HitTestInvisible,
    SelfHitTestInvisible,
}

Values

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).

Remarks

Is an entity visible?

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