Skip to content

RGLCameraFrameShapeType

The constants of the RGLCameraFrameShapeType enumeration identify the shape of the camera frame.

typedef NS_ENUM(NSInteger, RGLCameraFrameShapeType) {
    RGLCameraFrameShapeTypeLine,
    RGLCameraFrameShapeTypeCorners
} NS_SWIFT_NAME(CameraFrameShapeType);
Constant Description
RGLCameraFrameShapeTypeLine camera frame is rectangle
RGLCameraFrameShapeTypeCorners camera frame only consists of corners of the rectangle