Trigger method when material is applied in Editor mode

Hi,

I try to make a plugin that could fire method every time that a user apply a material by drag’n drop.
I found that in SLevelViewport the “OnDrop” method is fired when a drop on geometry is done.
But I don’t know if there is a way to call my method right after this one.

Any idea ?

Thanks

uhm… what?

I want to call a function when a drop of material on a mesh is done in editor

Ok, I found what I need.

There’re some delegates that multicast when Object is applied to Actor : FEditorDelegates::OnApplyObjectToActor

See Editor.h or API Doc : FEditorDelegates