Static SCNSceneSourceFlattenSceneKey

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

Pass YES to flatten the scene graph when possible.

This option can be set in the options dictionary of the SCNScene and SCNSceneSource loading methods. The value for this option should be a boolean NSNumber. If its boolean value is YES (the default is NO), SceneKit will attempt to reduce the scene graph by merging the geometries. This option is suitable to preview a 3D scene efficiently and when manipulating the scene graph is not needed.

See also Apple’s documentation