How would I go about properly overriding an engine function?
Specifically SAssetView::GetThumbnailScale(). It’s an extremely simple private function under the SAssetView class that decides the thumbnail size of the content browser’s contents.
This widget is what controls the ThumbnailSize enum that is then switched into a float via GetThumbnailScale:
Sadly, I could never figure out how to do this without source. I did implement it myself in source, and it worked nicely.
It seems that 8 months later, 5.5 released with this. I’m not at all sure how to enable it though.
It’s blocked behind a predefined macro: UE_CONTENTBROWSER_NEW_STYLE
That’s a shame. I am curious whether or not a plugin can overwrite existing functions or classes in the editor. My guess is probably not given how much work they have put into making the editor extendable.