Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new Camera(type?: string): Camera

Properties

projectionMatrix

projectionMatrix: mat4 = mat4.create()

projectionMatrixInverse

projectionMatrixInverse: mat4 = mat4.create()

type

type: string

viewMatrix

viewMatrix: mat4 = mat4.create()

viewMatrixInverse

viewMatrixInverse: mat4 = mat4.create()

Methods

updateLookAtPosition

  • updateLookAtPosition(xx?: number, yy?: number, zz?: number): void
  • Parameters

    • Default value xx: number = 0
    • Default value yy: number = 0
    • Default value zz: number = -100

    Returns void

updatePosition

  • updatePosition(xx?: number, yy?: number, zz?: number): void
  • Parameters

    • Default value xx: number = 0
    • Default value yy: number = 0
    • Default value zz: number = 0

    Returns void

updateViewMatrix

  • updateViewMatrix(): void

Object literals

lookAtPosition

lookAtPosition: object

x

x: number = 0

y

y: number = 0

z

z: number = 0

position

position: object

x

x: number = 0

y

y: number = 0

z

z: number = 0

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc