Instance Method

attributes()

Returns the attributes of the composition associated with the renderer.

Required.

Declaration

func attributes() -> [AnyHashable : Any]!

Return Value

A dictionary that contains the attributes that describe the composition, including the input and output ports of the root patch.

Discussion

The dictionary can define any of the attributes that are specified by the composition attribute keys. See QCCompositionAttributeNameKey, QCCompositionAttributeDescriptionKey, and QCCompositionAttributeCopyrightKey.

The dictionary can also contain dictionaries that correspond to the keys that identify the input and output ports of the root patch of the composition. See QCPortAttributeTypeKey, QCPortAttributeNameKey, QCPortAttributeMinimumValueKey, QCPortAttributeMaximumValueKey, and QCPortAttributeMenuItemsKey.

See Also