EVisibility

Is an entity visible?

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Layout/Visibility.h

Include

#include "Layout/Visibility.h"

Syntax

struct EVisibility

Remarks

Is an entity visible?

Variables

Name Description

Public variable

TEnumAsByte < Pr...

 

Value

Constructors

Name Description

Public function

EVisibility()

Default constructor.

The default visibility is 'visible'.

Functions

Name Description

Public function Const

bool

 

AreChildrenHitTestVisible()

Public function Static

bool

 

DoesVisibilityPassFilter

(
    const EVisibility InVisibility,
    const EVisibility InVisibilityFilte...
)

Public function Const

bool

 

IsHitTestVisible()

Public function Const

bool

 

IsVisible()

Public function Const

FString

 

ToString()

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const EVisibility & Other
)

Public function Const

bool

 

operator==

(
    const EVisibility & Other
)

Enums

Name

Description

Private enum

Private

Constants

Name

Description

All

Any visibility will do

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

Visible

Visible and hit-testable (can interact with cursor). Default value.

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