Inherits from | |
Conforms to | |
Framework | /System/Library/Frameworks/Quartz.framework/Frameworks/QuartzComposer.framework |
Availability | Available in Mac OS X v10.5 and later. |
Companion guide | |
Declared in | QCCompositionParameterView.h |
The QCCompositionParameterView
class allows allows users to edit, in real time, the input parameters of a composition. The composition can be rendering in any of the following objects: QCRenderer
, QCView
, or QCCompositionLayer
.
Retrieves the background color of the composition parameter view.
- (NSColor*) backgroundColor;
The color of the background.
QCCompositionParameterView.h
Returns the renderer object associated with the composition parameter view.
- (id<QCCompositionRenderer>) compositionRenderer
A renderer object or nil
, if the composition parameter view is not set to a renderer object.
QCCompositionParameterView.h
Returns the composition parameter view delegate.
- (id) delegate;
The composition parameter view delegate.
QCCompositionParameterView.h
Returns whether the composition parameter view draws its background.
- (BOOL) drawsBackground;
YES
if the view draws its background; otherwise NO
.
QCCompositionParameterView.h
Checks whether the composition that is currently edited by the composition parameter view has any input parameters.
- (BOOL) hasParameters
YES
if the composition has any input parameters.
QCCompositionParameterView.h
Sets the background color of the composition parameter view.
- (void) setBackgroundColor:(NSColor*)color;
The color to set.
QCCompositionParameterView.h
Sets the composition parameter view for editing the input parameters of the provided renderer object.
- (void) setCompositionRenderer:(id<QCCompositionRenderer>)renderer
A QCCompositionRenderer
object, either QCView
, QCRenderer
, or QCCompositionLayer
. Pass nil
to unset this renderer.
If the renderer is a QCView
object, the view track the composition.
QCCompositionParameterView.h
Sets the composition parameter view delegate.
- (void) setDelegate:(id)delegate;
The delegate for the composition parameter view.
QCCompositionParameterView.h
Sets whether the composition parameter view draws its background.
- (void) setDrawsBackground:(BOOL)flag;
YES
for the view to draw its background; otherwise NO
.
QCCompositionParameterView.h
© 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-05-09)