Navigation
API > API/Runtime > API/Runtime/SlateCore
Is an entity visible?
| Name | EVisibility |
| Type | struct |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/Visibility.h |
| Include Path | #include "Layout/Visibility.h" |
Syntax
struct EVisibility
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EVisibility () |
Default constructor.The default visibility is 'visible'. | Layout/Visibility.h | |
EVisibility
(
Private InValue |
Private constructor. | Layout/Visibility.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| All | const EVisibility | Any visibility will do | Layout/Visibility.h |
| Collapsed | const EVisibility | Not visible and takes up no space in the layout (obviously not hit-testable). | Layout/Visibility.h |
| Hidden | const EVisibility | Not visible but occupies layout space (obviously not hit-testable). | Layout/Visibility.h |
| HitTestInvisible | const EVisibility | Visible but not hit-testable (cannot interact with cursor) and children in the hierarchy (if any) are also not hit-testable. | Layout/Visibility.h |
| SelfHitTestInvisible | const EVisibility | Visible but not hit-testable (cannot interact with cursor) and doesn't affect hit-testing on children (if any). | Layout/Visibility.h |
| Visible | const EVisibility | Visible and hit-testable (can interact with cursor). Default value. | Layout/Visibility.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Value | TEnumAsByte< Private > | Layout/Visibility.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AreChildrenHitTestVisible() |
Layout/Visibility.h | ||
bool IsHitTestVisible() |
Layout/Visibility.h | ||
bool IsVisible() |
Layout/Visibility.h | ||
FString ToString() |
Layout/Visibility.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool DoesVisibilityPassFilter
(
const EVisibility InVisibility, |
Layout/Visibility.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const EVisibility& Other |
Layout/Visibility.h | ||
bool operator==
(
const EVisibility& Other |
Layout/Visibility.h |