Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FEditorViewportClient
Description
If dragging an actor for placement, this function updates its position.
Returns true if preview actors were updated
Derived Overrides
| Name | UpdateDropPreviewActors |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/EditorViewportClient.h |
| Include Path | #include "EditorViewportClient.h" |
virtual bool UpdateDropPreviewActors
(
int32 MouseX,
int32 MouseY,
const TArray < UObject * > & DroppedObjects,
bool & out_bDroppedObjectsVisible,
UActorFactory * FactoryToUse
)
Parameters
| Name | Remarks |
|---|---|
| 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 |