checkConsistency
An option to validate scene files while loading.
Declaration
static let checkConsistency: 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 adds a consistency checking step before initializing or loading contents from scene source. This step delays loading to verify that the format of the scene file matches its specification. If validation fails, SceneKit stops loading and returns an error. Use this option if you need to determine that a scene file is intact and valid before using it.