Skip to main content

Camera::getDirection

Description

Get camera direction

Syntax

```js camera.getDirection(); ```

Return value

  • Vector3

Example

This function returns undefined or a valid result, if you point with your camera on something.

See also