FLevelEditorViewportClient::UpdateDropPreviewActors

If dragging an actor for placement, this function updates its position.

Windows
MacOS
Linux

Override Hierarchy

FEditorViewportClient::UpdateDropPreviewActors()

FLevelEditorViewportClient::UpdateDropPreviewActors()

References

Module

UnrealEd

Header

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

Include

#include "LevelEditorViewport.h"

Source

/Engine/Source/Editor/UnrealEd/Private/LevelEditorViewport.cpp

Syntax

virtual bool UpdateDropPreviewActors
(
    int32 MouseX,
    int32 MouseY,
    const TArray< UObject * > & DroppedObjects,
    bool & out_bDroppedObjectsVisible,
    class UActorFactory * FactoryToUse
)

Remarks

If dragging an actor for placement, this function updates its position.

Returns true if preview actors were updated

Parameters

Parameter

Description

MouseX

The position of the mouse's X coordinate

MouseY

The position of the mouse's Y coordinate

DroppedObjects

The Objects that were used to create preview objects

out_bDroppedObjectsVisible

Output, returns if preview objects are visible or not

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