Skip to main content

Camera::setRot

Sets the rotation of the camera. Last parameter unknown.

Last parameter seems to always be set to 2.

Syntax

```js camera.setRot(rotX, rotY, rotZ, p4); ```

Required Arguments

  • rotX: float
  • rotY: float
  • rotZ: float
  • p4: int

Return value

  • Undefined

Example

```js // todo ```

See also