Download

Display a Avolume as Wireframe in game

Hello everyone,
I have created a class that inherits from AVolume, I want to show the volume in-game in Wireframe to debug easily.
After a day of research and test without success, I am calling for help.
I saw there is a method SetActorHiddenInGame, but it’s not working.
By looking at the engine implementation of AVolume, I guess the mesh is stored in the **UModel* Brush** member variable of UBrushComponent (parent of AVolume).
Maybe I can use this UModel reference to draw it?