Constructors

Accessors

Methods

Constructors

Accessors

  • get fov(): number
  • Returns number

    The current fov (field of view)

  • set fov(fov): void
  • Set the fov (field of view). Whenever a fov of 0 is set, the camera wil switch to orthographic view. Whenever the fov is set to any positive value below 120 it will switch to perspective view.

    Parameters

    • fov: number

      The new fov

    Returns void

Methods

  • Set the current viewpoint

    Parameters

    • viewPoint: ViewPoint

      The ViewPoint to set. When no fov has been set on the ViewPoint, the fov will be unchanged

    • animationTime: number

      The time to animate in ms, the default is 0 and indicates no animation at all

    Returns void