- iOS 8.0+
- macOS 10.8+
- tvOS 9.0+
- watchOS 3.0+
A data object containing a scene file in a format recognized by SceneKit.
A dictionary containing options that affect scene loading. See Scene Loading Options for available keys and values. Pass
nilto use default options.
A new, initialized scene source object, or
nil if initialization was not successful.
data parameter of this method should contain the same data as directly read from a scene file (such as by using the
data). Use this method when you have the contents of a scene file but not the file itself—for example, if your app downloads scene files from the network.