Interface IScreenshotSize
Hierarchy
- IScreenshotSize
Index
Properties
Optional final HeightSearch playground for finalHeight
Height of the final screenshot image. If only one of the two values is provided, the other will be calculated based on the camera's aspect ratio. If both finalWidth and finalHeight are not provided, width and height will be used instead finalWidth and finalHeight are used only by CreateScreenshotUsingRenderTarget, not by CreateScreenshot!
Optional final WidthSearch playground for finalWidth
Width of the final screenshot image. If only one of the two values is provided, the other will be calculated based on the camera's aspect ratio. If both finalWidth and finalHeight are not provided, width and height will be used instead. finalWidth and finalHeight are used only by CreateScreenshotUsingRenderTarget, not by CreateScreenshot!
Optional heightSearch playground for height
number in pixels for canvas height. It is the height of the texture used to render the scene
Optional precisionSearch playground for precision
multiplier allowing render at a higher or lower resolution If value is defined then width and height will be multiplied by this value
Optional widthSearch playground for width
number in pixels for canvas width. It is the width of the texture used to render the scene
Interface for screenshot methods with describe argument called
size
as object with optionshttps://doc.babylonjs.com/api/classes/babylon.screenshottools