Methods
Screenshot

captureScreenshot

takes a screenshot of the scene in png format example usage const imagedatapromise = viewer3d capturescreenshot(); return value promise that resolves to the base64 encoded string of the png image type promise => string