CropMode
enum CropMode { "camera_full", "screen_full", "screen_square" }
The region of the camera frames that this texture displays.
Member List
Member | Description |
---|---|
camera_full | The texture will map full UV coordinates (0, 0) to (1, 1) to the full camera frame as received from the camera sensor. Ordinarily this frame will have a 4:3 aspect ratio but this should not be relied upon. |
screen_full | The texture will map full UV coordinates to the rectangle of the camera frame that is displayed on the device screen. |
screen_square | The texture will map full UV coordinates to the square central region of the camera frame that is displayed on the device screen. |