Skip to main content

Camera::Camera

Creates a camera.

Syntax

``` mp.cameras.new(name, position, rotation, fov); ```

Parameters

  • name:
  • position:
  • rotation:
  • fov:

Examples

Creates a camera and sets it to look towards a location.

Version 0.3.7:

Version 1.1:

See Also