property(forKey:)
Returns metadata about the scene.
Declaration
func property(forKey key: String) -> Any?Parameters
- key:
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.
Discussion
This method returns information about the scene that is defined in the file but is not directly referenced by the scene.