flattenScene
An option for automatically merging portions of a scene graph during loading.
Declaration
static let flattenScene: SCNSceneSource.LoadingOptionDiscussion
The value for this key is an NSNumber object containing a Boolean value. The default value is false.
If you set this option’s value to true, SceneKit attempts to reduce the complexity of the scene graph loaded from the scene source by merging geometries and combining nodes. Use this option for more efficient rendering when manipulation of the scene graph is not needed (for example, when rendering a quick preview of a scene’s contents).