pub unsafe static SCNSceneSourceCheckConsistencyKey: &'static SCNSceneSourceLoadingOptionAvailable on crate feature
SCNSceneSource only.Expand description
Pass YES in order to perform the document validation.
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 check the document for consistency. If the document doesn’t pass the consistency check it is then not loaded and an error is returned. This is slower, but for security reasons it should be set to YES if you are not sure the files you load are valid and have not been tampered with.
See also Apple’s documentation