Hierarchy

  • ImageFormat

Constructors

  • Construct a new ImageFormat object with default values.

    Returns ImageFormat

  • Construct a new ImageFormat object with user's params.

    Parameters

    • width: number

      width of the image in pixels.

    • height: number

      height of the image in pixels.

    • orientation: CameraOrientation

      the image camera orientation in degrees as enum value.

    • requireMirroring: boolean

      specifies should the image be mirrored during rendering or not.

    • faceOrientation: number

      face orientation in degrees.

    • Optional fov: number

      field of view in degrees.

    Returns ImageFormat

Properties

faceOrientation: number

face orientation in degrees.

fov: number

field of view in degrees.

height: number

height of the image in pixels.

orientation: CameraOrientation

camera orientation in degrees as enum value.

requireMirroring: boolean

specifies should the image be mirrored during rendering or not.

width: number

width of the image in pixels.

Methods

  • Returns number

    the image size in pixels, i.e. width * height.