Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ImageDownscaleOptions

Options which define conditions for when an image is automatically downscaled by the engine. Images that are larger than the maximum size that the engine can handle on the currently executing platform are downscaled automatically.

Hierarchy

  • ImageDownscaleOptions

Index

Properties

Optional maxDimensions

maxDimensions: { height: number; width: number }

Type declaration

  • height: number
  • width: number

Optional maxMegaPixels

maxMegaPixels: { desktop: number; mobile: number }

Images whose sizes exceed these megapixel limits will be downscaled by the engine.

Type declaration

  • desktop: number
  • mobile: number