Download

How to implement drag and drop for external assets in plugin window?

I’m creating a plugin with an editor window, and I want to implement a way to drag and drop an FBX file from outside the Unreal Editor onto the editor window.

The behaviour I’m trying to imitate is the way that you can drag an FBX file from a Windows Explorer window onto the Content Browser and it triggers the FBX Import process.

How can I enable a slate window to be receptive to FBX files being dropped on it, and trigger a custom import process (which I have already basically written)?