Navigation
Unreal Engine C++ API Reference > Runtime > SlateCore > Layout
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
Type | Name | Description | |
---|---|---|---|
TEnumAsByte< Private > | Value |
Constructors
Type | Name | Description | |
---|---|---|---|
EVisibility () |
Default constructor.The default visibility is 'visible'. |
Functions
Type | Name | Description | |
---|---|---|---|
bool | |||
bool | DoesVisibilityPassFilter
(
const EVisibility InVisibility, |
||
bool | |||
bool | IsVisible () |
||
FString | ToString () |
Operators
Type | Name | Description | |
---|---|---|---|
bool | operator!=
(
const EVisibility& Other |
||
bool | operator==
(
const EVisibility& Other |
Enums
Type | Name | Description | |
---|---|---|---|
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. |