Skip to main content

Camera::setActive

Description

Set camera as active/inactive.

Syntax

``` camera.setActive(active); ```

Required Arguments

  • active: Boolean

Return value

  • Undefined

Example

Creates a camera with the stated positions and rendering it.

See also