Contents

worldToMetersConversionScale

The scale factor to meters from the world coordinate system containing the camera.

Declaration

var worldToMetersConversionScale: Float { get set }

Discussion

Some calculations, such as the calculation of MDLStereoscopicCamera view matrices, must occur in world space. MDLCamera properties measured in meters or millimeters use this conversion scale to perform the calculation.

The default value is 1.0.

See Also

Managing Camera Perspective