Camera Draw Frustum

Hey, does anyone know how to draw a frustum from a camera component?

I see in the C++ documentation there’s a “DrawFrustum” variable under the UCameraComponent, but I have no idea how to use it. The description says, “The frustum component used to show visually where the camera field of view is”, which seems to be exactly what I’m looking for.

I’ve also tried using the UDrawFrustumComponent and attaching it to an actor, but it doesn’t seem to show up or do anything in the engine.

Any help would be appreciated. Thanks!

Old question, but if anyone is looking for it, here is the console command:

ShowFlag.CameraFrustums 1
1 Like

It may be an old answer but I was just looking how to do this, thank you.