Class ScreenshotDto (Inputs.BabylonTools)
Constructors
constructor
new ScreenshotDto( camera?: Camera, width?: number, height?: number, mimeType?: string, quality?: number,): ScreenshotDto Parameters
Optionalcamera: CameraOptionalwidth: numberOptionalheight: numberOptionalmimeType: stringOptionalquality: number
Properties
Optionalcamera
camera?: any
width
width: number
height
height: number
mimeType
mimeType: string
quality
quality: number
供
babylon.tools.createScreenshot和createScreenshotAndDownload使用:渲染所用的相机、图像尺寸、格式和质量。