Viewer360Base.dumpScreen() method

Capture current frame of the canvas to the image.

Signature:

dumpScreen(width: number, height: number): void;

Parameters

ParameterDescription
widthThe dump image is in the same size of canvas. This parameter does not take effect.
heightDitto.

Returns:

void

The base64 encoded image blob.