SCNSceneSourceConvertUnitsToMetersKey

Static SCNSceneSourceConvertUnitsToMetersKey 

Source
pub unsafe static SCNSceneSourceConvertUnitsToMetersKey: &'static SCNSceneSourceLoadingOption
Available on crate feature SCNSceneSource only.
Expand description

Pass the units you want the scene to be converted to (in meter).

Use this with a floating value encapsulated in a NSNumber. The default value is nil which means no conversion done. Passing a non-zero value will convert the scene coordinates so that 1 unit corresponds to N meters. For example pass 0.01 for 1 unit == 1 centimeter, pass 0.3048 for 1 unit == 1 foot… For better physics simulation it is recommended to use 1 unit equals to 1 meter. This option has no effect for SCN files or if the asset is already compressed by Xcode (use the compression options instead).

See also Apple’s documentation