Navigation
Unreal Engine C++ API Reference > Editor > UnrealEd > FEditorViewportClient
- FEditorViewportClient::UpdateDropPreviewActors()
- FLevelEditorViewportClient::UpdateDropPreviewActors()
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Public/EditorViewportClient.h |
Include | #include "EditorViewportClient.h" |
virtual bool UpdateDropPreviewActors
&40;
int32 MouseX,
int32 MouseY,
const TArray< UObject &42; > & DroppedObjects,
bool & out_bDroppedObjectsVisible,
UActorFactory &42; FactoryToUse
&41;
Remarks
If dragging an actor for placement, this function updates its position.
Returns true if preview actors were updated
Parameters
Name | 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 |