Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FLevelEditorViewportClient
Description
If dragging items for placement, this function updates their position.
Returns true if preview elements were updated
Virtual Inheritance
- FEditorViewportClient::UpdateDropPreviewElements → FLevelEditorViewportClient::UpdateDropPreviewElements
| Name | UpdateDropPreviewElements |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/LevelEditorViewport.h |
| Include Path | #include "LevelEditorViewport.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/LevelEditorViewport.cpp |
virtual bool UpdateDropPreviewElements
(
int32 MouseX,
int32 MouseY,
const TArray < UObject * > & DroppedObjects,
bool & out_bDroppedObjectsVisible,
TScriptInterface < IAssetFactoryInterface > Factory
)
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 |