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

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