Hiding USplineComponents in C++ in editor

WimL
Tue, 23 Jan 2018 12:58:45 +0000
Rendering

How do I hide USplingComponents in the editor (in game, they should also be hidden) in c++?

I use the splines to generate other geometry along them, but if the splines are shown, the scene gets too crowded.

I tried spline->SetVisibility(false) and spline->bVisible=false, but that doesn’t seem to do anything.

1 post - 1 participant