Instance Method


Returns metadata about the scene.


func property(forKey key: String) -> Any?



A constant identifying a metadata property of the scene source. See Scene Source Properties for available keys and the formats of their values.

Return Value

The value for the metadata property, or nil if no value exists for the specified property.


This method returns information about the scene that is defined in the file but is not directly referenced by the scene.

See Also

Getting Information about the Scene

var url: URL?

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

var data: Data?

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