Navigation
API > API/Editor > API/Editor/UnrealEd
Describes an object that's currently hovered over in the level viewport
| Name | FViewportHoverTarget |
| Type | struct |
| Header File | /Engine/Source/Editor/UnrealEd/Public/LevelEditorViewport.h |
| Include Path | #include "LevelEditorViewport.h" |
Syntax
struct FViewportHoverTarget
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FViewportHoverTarget
(
AActor* InActor |
Construct from an actor | LevelEditorViewport.h | |
FViewportHoverTarget
(
UModel* InModel, |
Construct from an BSP model and surface index | LevelEditorViewport.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| HoveredActor | TObjectPtr< AActor > | The actor we're drawing the hover effect for, or NULL | LevelEditorViewport.h | |
| HoveredModel | TObjectPtr< UModel > | The BSP model we're drawing the hover effect for, or NULL | LevelEditorViewport.h | |
| ModelSurfaceIndex | uint32 | Surface index on the BSP model that currently has a hover effect | LevelEditorViewport.h |
Functions
Public
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FViewportHoverTarget& RHS |
Equality operator | LevelEditorViewport.h |