init(amount:angle:eye:)
Creates a new vision prism object, using a single quantity and an alignment angle.
Declaration
init(amount: HKQuantity, angle: HKQuantity, eye: HKVisionEye)Parameters
- amount:
The strength of the correction, measured in Prismdiopter() units.
- angle:
The orientation of the adjustment, measured in Degreeangle() units.
- eye:
A value indicating which eye the correction applies to: Left or Right.