HVTLevelerCropMode Constants Reference

Declared in HVTVars.h
References HVTLevelerFlexSpeed, HVTLevelerLockedOrientation

HVTLevelerCropMode

Constants indicating the way the leveling algorithm adjusts the crop region according to the device’s physical orientation.

Definition

typedef NS_ENUM(NSInteger, HVTLevelerCropMode ) {
   HVTLevelerCropModeFlex,
   HVTLevelerCropModeRotate,
   HVTLevelerCropModeLocked,
};

Constants

HVTLevelerCropModeFlex

Crop region will rotate and scale accordingly.

Declared In HVTVars.h.

HVTLevelerCropModeRotate

Crop region will rotate and use a constant scale level.

Declared In HVTVars.h.

HVTLevelerCropModeLocked

Leveling is disabled. Crop region will rotate for specific angles (multiples of pi/2) in order to match a horizontal or vertical physical device orientation.

If recording starts, the current rotation will remain unchanged until recording stops.

Declared In HVTVars.h.

Declared In

HVTVars.h