FViewportHoverTarget

Describes an object that's currently hovered over in the level viewport

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/LevelEditorViewport.h

Include

#include "LevelEditorViewport.h"

Syntax

struct FViewportHoverTarget

Remarks

Describes an object that's currently hovered over in the level viewport

Variables

Name Description

Public variable

AActor *

 

HoveredActor

The actor we're drawing the hover effect for, or NULL

Public variable

UModel *

 

HoveredModel

The BSP model we're drawing the hover effect for, or NULL

Public variable

uint32

 

ModelSurfaceIndex

Surface index on the BSP model that currently has a hover effect

Constructors

Name Description

Public function

FViewportHoverTarget

(
    AActor* InActor
)

Construct from an actor

Public function

FViewportHoverTarget

(
    UModel* InModel,
    int32 InSurfaceIndex
)

Construct from an BSP model and surface index

Operators

Name Description

Public function Const

bool

 

operator==

(
    const FViewportHoverTarget& RHS
)

Equality operator

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