Instance Property

data

The data object from which the scene source loads scene content.

Declaration

@property(readonly) NSData *data;

Discussion

If the scene source was created using the sceneSourceWithData:options: or initWithData:options: method, this property’s value is the data from which the scene source was created. If the scene source was created from a scene file using the the sceneSourceWithURL:options: or initWithURL:options: method, this property’s value is the data loaded from that URL at the time the scene source was created.

See Also

Getting Information about the Scene

url

The URL identifying the file from which the scene source was created.

- propertyForKey:

Returns metadata about the scene.