One Logo Pool Ball
USDKit · IOS API REFERENCE

USDLayer.Spec.MetadataCollection

protocol · iOS 27.0+ · SDK 27.1

protocol MetadataCollection

Read/write access to metadata stored on a spec.

Members (9)

get · iOS 27.0+

metadataInfoKeys

Swift declaration
var metadataInfoKeys: [USDToken] { get }

The subset of info keys an inspector should treat as user-visible metadata. Excludes structural fields.

method · iOS 27.0+

info

Swift declaration
func info(_ key: USDToken) -> USDValue?

Returns the value of `key`, or `nil` if the key is unauthored. - Parameter key: The info key to look up. - Returns: The authored value, or `nil` if unauthored.

get · iOS 27.0+

path

Swift declaration
var path: USDLayer.Path { get }

The path identifying this spec within its layer.

get · iOS 27.0+

layer

Swift declaration
var layer: USDLayer? { get }

The layer containing this spec, or `nil` if dormant.

method · iOS 27.0+

setInfo

Swift declaration
func setInfo(_ key: USDToken, to value: USDValue)

Sets `key` to `value`. - Parameters: - key: The info key to author. - value: The new value.

get · iOS 27.0+

infoKeys

Swift declaration
var infoKeys: [USDToken] { get }

All authored info keys on this spec, including structural fields (child specifier lists, type info, etc.).

get · iOS 27.0+

specType

Swift declaration
var specType: USDLayer.SpecType? { get }

The kind of spec, or `nil` if the spec is dormant.

method · iOS 27.0+

clearInfo

Swift declaration
func clearInfo(_ key: USDToken)

Clears the authored value for `key`. - Parameter key: The info key to clear.

get · iOS 27.0+

isDormant

Swift declaration
var isDormant: Bool { get }

Whether the spec is dormant (the underlying data has been removed).

Skipped declarations

No declarations were skipped in this snapshot.

All USDKit types →