How to get Frustrum camera plane

Hello everyone!
Is it possible to get the coordinates of the Frustrum near camera plane points? Perhaps these coordinates are already contained in the camera object?
My goal is to highlight this near camera plane with a thick line along the edges and display this square on another camera. More precisely, I need to display the field of view of one camera (the square of the screen) on another camera
I also wanted to ask, is it possible to dynamically resize a square (LineSegments) created from 4 points? By changing the coordinates of these points, not by scale vector

You mean like the camera helper example?
https://threejs.org/examples/#webgl_camera

The main code of the camera helpers can be found here, if you need more details.
You can probably access these without rewriting them. This code is included inside main build.

1 Like