Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FEditorViewportClient
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool DropObjectsAtCoordinates
(
int32 MouseX, |
Attempts to intelligently drop the given objects in the viewport, using the given mouse coordinates local to this viewport | EditorViewportClient.h | |
virtual bool DropObjectsAtCoordinates
(
int32 MouseX, |
EditorViewportClient.h |
DropObjectsAtCoordinates(int32, int32, const TArray< UObject * > &, TArray< FTypedElementHandle > &, const FDropObjectOptions &)
Description
Attempts to intelligently drop the given objects in the viewport, using the given mouse coordinates local to this viewport
| Name | DropObjectsAtCoordinates |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/EditorViewportClient.h |
| Include Path | #include "EditorViewportClient.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/EditorViewportClient.cpp |
virtual bool DropObjectsAtCoordinates
(
int32 MouseX,
int32 MouseY,
const TArray < UObject * > & DroppedObjects,
TArray < FTypedElementHandle > & OutNewObjects,
const FDropObjectOptions & Options
)
Parameters
| Name | Remarks |
|---|---|
| MouseX | The position of the mouse's X coordinate |
| MouseY | The position of the mouse's Y coordinate |
| DroppedObjects | The Objects to be placed into the editor via this viewport |
| OutNewObjects | The new actor objects that were created |
| Options | Additional options Forwards to the other overload (which returns false) during deprecation. Will return false directly once the other overload is removed. |
DropObjectsAtCoordinates(int32, int32, const TArray< UObject > &, TArray< AActor > &, bool, bool, bool, UActorFactory *)
| Name | DropObjectsAtCoordinates |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/EditorViewportClient.h |
| Include Path | #include "EditorViewportClient.h" |
virtual bool DropObjectsAtCoordinates
(
int32 MouseX,
int32 MouseY,
const TArray < UObject * > & DroppedObjects,
TArray < AActor * > & OutNewActors,
bool bOnlyDropOnTarget,
bool bCreateDropPreview,
bool bSelectActors,
UActorFactory * FactoryToUse
)