cropMode(...)
cropMode(val: CameraTexture.CropMode): this;
Sets which region of the camera frames that the texture will display.
Default value: Z.CameraTexture.CropMode.camera_full
Parameters
Parameter | Type | Description |
---|---|---|
val | Z.CameraTexture.CropMode | The region to display. |
Returns
this