allAuthoredMetadata
Swift declarationvar allAuthoredMetadata: Dictionary<USDToken, USDValue> { get }Every authored metadata value on this object.
protocol · iOS 27.0+ · SDK 27.1
protocol MetadataCollectionA scene graph object that possesses metadata. Prims, attributes, and relationships may have associated metadata. Metadata on an object is accessed by its name, which is a ``USDToken``. > Important: Don’t declare new conformances to MetadataCollection. Only the types provided by the USDStageKit framework are valid conforming types.
var allAuthoredMetadata: Dictionary<USDToken, USDValue> { get }Every authored metadata value on this object.
func hasAuthoredMetadata(_ key: USDToken, keyPath: USDToken) -> BoolReturns a Boolean value that indicates whether the dictionary-valued metadata for the given key has an authored value at `keyPath`.
func hasAuthoredMetadata(_ key: USDToken) -> BoolReturns a Boolean value that indicates whether metadata for the given key has an authored value.
var allMetadata: Dictionary<USDToken, USDValue> { get }Every metadata value on this object, including fallbacks.
func hasMetadata(_ key: USDToken, keyPath: USDToken) -> BoolReturns a Boolean value that indicates whether the dictionary-valued metadata for the given key has a value at `keyPath`.
func hasMetadata(_ key: USDToken) -> BoolReturns a Boolean value that indicates whether metadata for the given key has a value, including its fallback.
func setMetadata(_ key: USDToken, value: Int) throwsfunc setMetadata(_ key: USDToken, value: UInt) throwsfunc setMetadata<T>(_ key: USDToken, value: T) throws where T : USDStage.Object.MetadataValueSets the metadata value for the given key.
func setMetadata(_ key: USDToken, keyPath: USDToken, value: Int) throwsfunc setMetadata(_ key: USDToken, keyPath: USDToken, value: UInt) throwsfunc setMetadata<T>(_ key: USDToken, keyPath: USDToken, value: T) throws where T : USDStage.Object.MetadataValueSets the value at `keyPath` within the dictionary-valued metadata for the given key.
func clearMetadata(_ key: USDToken, keyPath: USDToken) throwsRemoves the authored value at `keyPath` within the dictionary-valued metadata for the given key.
func clearMetadata(_ key: USDToken) throwsRemoves the authored metadata value for the given key.
var customData: Dictionary<String, USDValue> { get set }A dictionary of custom data authored on this object.
func clearHidden()Removes the authored `isHidden` opinion on this object.
var displayName: String { get set }A non-unique display name authored on this object.
var hasAssetInfo: Bool { get }A Boolean value that indicates whether this object has asset information.
var documentation: String { get set }A human-readable description authored on this object.
var hasCustomData: Bool { get }A Boolean value that indicates whether this object has custom data.
func assetInfoByKey(_ keyPath: USDToken) -> USDValue?Returns the asset information value at the given key path.
func clearAssetInfo()Removes all authored asset information on this object.
func clearCustomData()Removes all authored custom data on this object.
func customDataByKey(_ keyPath: USDToken) -> USDValue?Returns the custom data value at the given key path.
func clearDisplayName()Removes the authored display name on this object.
func hasAssetInfoByKey(_ keyPath: USDToken) -> BoolReturns a Boolean value that indicates whether asset information exists at the given key path.
var hasAuthoredHidden: Bool { get }A Boolean value that indicates whether this object has an authored `isHidden` opinion.
func setAssetInfoByKey(_ keyPath: USDToken, value: USDValue)Sets the asset information value at the given key path.
func clearDocumentation()Removes the authored documentation on this object.
func hasCustomDataByKey(_ keyPath: USDToken) -> BoolReturns a Boolean value that indicates whether custom data exists at the given key path.
func setCustomDataByKey(_ keyPath: USDToken, value: USDValue)Modifies the custom data value at the given key path.
func clearAssetInfoByKey(_ keyPath: USDToken)Removes the authored asset information value at the given key path.
func clearCustomDataByKey(_ keyPath: USDToken)Removes the authored custom data value at the given key path.
var hasAuthoredAssetInfo: Bool { get }A Boolean value that indicates whether this object has authored asset information.
var hasAuthoredCustomData: Bool { get }A Boolean value that indicates whether this object has authored custom data.
var hasAuthoredDisplayName: Bool { get }A Boolean value that indicates whether this object has an authored display name.
var hasAuthoredDocumentation: Bool { get }A Boolean value that indicates whether this object has authored documentation.
func hasAuthoredAssetInfoByKey(_ keyPath: USDToken) -> BoolReturns a Boolean value that indicates whether authored asset information exists at the given key path.
func hasAuthoredCustomDataByKey(_ keyPath: USDToken) -> BoolReturns a Boolean value that indicates whether authored custom data exists at the given key path.
var isHidden: Bool { get set }A Boolean value that indicates whether this object is hidden from browsing UI.
func metadata<T>(_ key: USDToken, keyPath: USDToken) -> T? where T : USDStage.Object.MetadataValueReturns the value at `keyPath` within the dictionary-valued metadata for the given key.
func metadata<T>(_ key: USDToken) -> T? where T : USDStage.Object.MetadataValueReturns the metadata value for the given key.
var assetInfo: Dictionary<String, USDValue> { get set }A dictionary of asset information authored on this object.
9 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
USDStage.Object.MetadataCollection.metadata(_:)
The iOS SDK compiler rejected this binding: ambiguous use of 'metadata'
USDStage.Object.MetadataCollection.metadata(_:keyPath:)
The iOS SDK compiler rejected this binding: ambiguous use of 'metadata(_:keyPath:)'
USDStage.Object.MetadataCollection.metadata(_:)
The iOS SDK compiler rejected this binding: ambiguous use of 'metadata'
USDStage.Object.MetadataCollection.metadata(_:keyPath:)
The iOS SDK compiler rejected this binding: ambiguous use of 'metadata(_:keyPath:)'
USDStage.Object.MetadataCollection.isHidden
The iOS SDK compiler rejected this binding: cannot assign to property: 'o' is a 'let' constant
USDStage.Object.MetadataCollection.customData
The iOS SDK compiler rejected this binding: cannot assign to property: 'o' is a 'let' constant
USDStage.Object.MetadataCollection.assetInfo
The iOS SDK compiler rejected this binding: cannot assign to property: 'o' is a 'let' constant
USDStage.Object.MetadataCollection.documentation
The iOS SDK compiler rejected this binding: cannot assign to property: 'o' is a 'let' constant
USDStage.Object.MetadataCollection.displayName
The iOS SDK compiler rejected this binding: cannot assign to property: 'o' is a 'let' constant