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?

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback