Phaser API Documentation

  Version: 
preRenderCamera(camera)

Description:

Controls the pre-render operations for the given camera. Handles any clipping needed by the camera and renders the background color if a color is visible.

Parameters:

name type description
camera Phaser.Cameras.Scene2D.Camera

The Camera to pre-render.

Since: 3.0.0