Platforms to show: All Mac Windows Linux Cross-Platform

Back to QCCompositionRepositoryMBS class.

QCCompositionRepositoryMBS.allCompositions as QCCompositionMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Quartz Composer MBS MacControls Plugin 15.1 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Returns an array that contains all compositions currently in the composition repository.
Example
dim r as QCCompositionRepositoryMBS = QCCompositionRepositoryMBS.sharedCompositionRepository
dim a() As QCCompositionMBS = r.allCompositions
MsgBox str(a.Ubound+1)+" compositions installed"

QCCompositionRepositoryMBS.Compositions(protocols() as String = nil, attributes as Dictionary = nil) as QCCompositionMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Quartz Composer MBS MacControls Plugin 15.1 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Returns an array of compositions that match a set of criteria.
Example
dim r as QCCompositionRepositoryMBS = QCCompositionRepositoryMBS.sharedCompositionRepository
dim a() As QCCompositionMBS = r.Compositions( array( QCCompositionMBS.QCCompositionProtocolImageFilter))
MsgBox str(a.Ubound+1)+" compositions found"

protocols: The protocols that you want compositions to conform to. Pass nil if you don’t want to filter based on the protocol. You can pass any of these protocols: QCCompositionProtocolAnimation, QCCompositionProtocolImageProducer, QCCompositionProtocolImageFilter, QCCompositionProtocolImageCompositor, QCCompositionProtocolImageTransition, and QCCompositionProtocolScreenSaverRSS.
attributes: A dictionary that contains the attributes, and their associated values, that you want compositions to match. Pass nil if you don’t want to filter based on the attributes. For example, you can pass any of these attributes: QCCompositionAttributeNameKey, QCCompositionAttributeDescriptionKey, QCCompositionAttributeCopyrightKey, QCCompositionAttributeBuiltInKey, and QCCompositionAttributeTimeDependentKey.

Returns an array of QCComposition objects that meet the supplied criteria.

QCCompositionRepositoryMBS.compositionWithIdentifier(identifier as string) as QCCompositionMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Quartz Composer MBS MacControls Plugin 15.1 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Returns the composition that corresponds to the identifier.
Example
dim r as QCCompositionRepositoryMBS = QCCompositionRepositoryMBS.sharedCompositionRepository
dim c as QCCompositionMBS = r.compositionWithIdentifier("/swing")
MsgBox c.Name

identifier: A string that uniquely identifies the composition to retrieve.

Returns the composition identified by the provided string, or nil if there is no composition with that identifier in the composition repository.

QCCompositionRepositoryMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Quartz Composer MBS MacControls Plugin 15.1 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The private constructor.

The items on this page are in the following plugins: MBS MacControls Plugin.


The biggest plugin in space...