setMetadata(_:value:)

Sets the metadata value for the given key.

Declaration

func setMetadata<T>(_ key: USDToken, value: T) throws where T : USDStage.Object.MetadataValue