Skip to content

snapshot( )

Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.

snapshot(reuse?: DataTexture): DataTexture;

Copies the current camera frame into the supplied Z.DataTexture.

ParameterTypeDescription
reuseoptional, Z.DataTextureThe DataTexture the snapshot will be placed in. If one isn’t provided, a new one will be allocated.

DataTexture