C++ slate brush asset pointer

How do I make a C++ variable that’s an object pointer to a slate brush asset that points to a slate brush in my content browser? I looked through the slate documentation and i’m pretty lost.

tl;dr: how do i remake this variable http://puu.sh/bgam8/4174629490.png in C++

nevermind, i found the correct object.

USlateBrushAsset *InventoryIcon;

1 Like