Interface SizeOptions

Options for specifying different size parameters for a screenshot.

interface SizeOptions {
    height?: number;
    resolutionFactor?: number;
    width?: number;
}

Properties

height?: number

The height of the screenshot. Default: undefined

resolutionFactor?: number

Allows image resolution to be higher or lower than camera resolution. Ignored if height and width are defined. Default: 1

width?: number

The width of the screenshot. Default: undefined

Generated using TypeDoc