Perspective camera, used for 3D scenes with objects getting smaller as they get away from the camera.
Based on THREE.PerspectiveCamera, original documentation available at https:// threejs.org/docs/index.html#Reference/Cameras/PerspectiveCamera.
Destroy camera object and remove it from the scene.
Render a scene using this camera and the internal EffectComposer.
WebGL renderer to use.
Scene to be rendered.
Resize this camera, should be called every time after resizing the screen.
Updates the viewport, rendering composer and the camera projection matrix.
Width of the screen.
Height of the screen.
Viewport that encapsulates the viewport of the camera.
Prepare the renderer to render the frame using the camera settings.
Should be called before the render() method to setup clear configuration and viewport.
WebGL renderer to configure.
Update camera projection matrix.
Should be called after chaging projection parameters.
Camera aspect ratio X/Y.
Clear screen color flag.
Clear depth flag.
Clear stencil buffer flag.
Effect composed of this camera. Is used to render the scene to the screen and apply effects.
It is inialized with a RenderPass attached to it.
Camera field of view in degrees.
Camera draw order preference.
If more than one camera has the same order value the draw order is undefined for those cameras.
Camera viewport indicates where the image is drawn on the screen.