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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss