SCNSceneSourceOverrideAssetURLsKey

Static SCNSceneSourceOverrideAssetURLsKey 

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

Pass YES in order to override assets URLs with the directory URLs passed via SCNSceneSourceAssetDirectoryURLsKey.

By default, SceneKit will look for the external resources using the paths/urls as described in the imported file. You can force SceneKit to only search for extern resources within the directories specified by the SCNSceneSourceAssetDirectoryURLsKey key. This can be useful to load a file and its resources from a specific bundle for instance.

See also Apple’s documentation