WhiteCameraConfig Class Reference

Inherits from WhiteObject
Declared in WhiteCameraConfig.h

Overview

Configurations for the view.

  centerX

The X coordinate of the center of the view in the world coordinate system, which is 0 when not filled.

@property (nonatomic, strong, nullable) NSNumber *centerX

Declared In

WhiteCameraConfig.h

  centerY

The Y coordinate of the center of the view in the world coordinate system, which is 0 when not filled.

@property (nonatomic, strong, nullable) NSNumber *centerY

Declared In

WhiteCameraConfig.h

  scale

The scale factor of the view.

@property (nonatomic, strong, nullable) NSNumber *scale

Declared In

WhiteCameraConfig.h

  animationMode

Animation mode for switching the view.

@property (nonatomic, assign) WhiteAnimationMode animationMode

Discussion

The defalt value is WhiteAnimationModeContinuous. See WhiteAnimationMode.

Declared In

WhiteCameraConfig.h