Skip to content

cropMode(...)

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.

cropMode(val: CameraTexture.CropMode): this;

Sets which region of the camera frames that the texture will display.

Default value: Z.CameraTexture.CropMode.camera_full

ParameterTypeDescription
valZ.CameraTexture.CropModeThe region to display.

this