Loads the entire scene graph from the scene source and calls the specified block to provide progress information.
- iOS 8.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
A dictionary containing options that affect scene loading. See Scene Loading Options for available keys and values. Pass
nilto use default options.
SCNSceneblock. SceneKit calls this block periodically to report progress while loading the scene.
Source Status Handler
SCNScene object containing the entire scene graph from the scene source, or
nil if loading was not successful.
A scene source can contain objects that are not part of its scene graph. To obtain these objects, you must load them individually with the the
entries(passing method. For example, a scene file containing a game character could include several animations for the character geometry (such as running, jumping, and standing idle). Because you typically do not apply multiple animations at once, the scene file contains these animations without their being attached to the character geometry.