value(forInputKey:)
Returns the value for an input port of a composition.
Declaration
func value(forInputKey key: String!) -> Any!Parameters
- key:
The key associated with an input port for the root patch of a composition. This method throws an exception if
keyis invalid.
Return Value
The value. The data type of returned value depends on the type of the input port. See QCPortAttributeTypeKey for more information.