Instance Method

propertyForKey:

Returns metadata about the scene.

Declaration

- (id)propertyForKey:(NSString *)key;

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.

See Also

Getting Information about the Scene

url

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

data

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software