screenshotSize.ts 379 B

1234567891011121314151617
  1. export interface IScreenshotSize {
  2. /**
  3. * number in pixels for canvas height
  4. */
  5. height?: number;
  6. /**
  7. * multiplier allowing render at a higher or lower resolution
  8. * If value is defined then height and width will be ignored and taken from camera
  9. */
  10. precision?: number;
  11. /**
  12. * number in pixels for canvas width
  13. */
  14. width?: number;
  15. }