Navigation
API > API/Runtime > API/Runtime/UMG
This is a class for a Component that exposes the mouse hover state of its Owner widget.
| Name | UMouseHoverComponent |
| Type | class |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/MouseHoverComponent.h |
| Include Path | #include "Components/MouseHoverComponent.h" |
Syntax
UCLASS (MinimalAPI)
class UMouseHoverComponent : public UUIComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UUIComponent → UMouseHoverComponent
Implements Interfaces
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsHovered | bool | Components/MouseHoverComponent.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetIsHovered() |
Components/MouseHoverComponent.h | ||
void OnMouseHoverChanged
(
bool InbIsHovered |
Components/MouseHoverComponent.h |