Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/threejs_4_deno/src/cameras/Camera.js>Camera

A simple transformation of three.js for use within a Deno workflow
Go to Latest
class Camera
extends Object3D
import { Camera } from "https://deno.land/x/threejs_4_deno@v121/src/cameras/Camera.js";

Abstract base class for cameras. This class should always be inherited when you build a new camera.

Constructors

new
Camera()

This constructor sets following properties to the correct type: matrixWorldInverse, projectionMatrix and projectionMatrixInverse.

Properties

readonly
isCamera: true
matrixWorldInverse: Matrix4

This is the inverse of matrixWorld. MatrixWorld contains the Matrix which has the world transform of the Camera.

projectionMatrix: Matrix4

This is the matrix which contains the projection.

projectionMatrixInverse: Matrix4

This is the inverse of projectionMatrix.