| Inherits from | |
| Framework | Library/Frameworks/QTKit.framework |
| Availability | Available in QuickTime 7.2.1 and later.
|
| Declared in | QTCaptureLayer.h |
This class provides a layer that displays video frames currently being captured from a device attached to the computer, and is intended to provide support for Core Animation, that is, drawing the contents of a capture session into a layer. Note that this class requires rendering using visual contexts.
Creates an autoreleased QTCaptureLayer associated with the specified QTCaptureSession object.
+ (id)layerWithSession:(QTCaptureSession *)session
By default, the movie starts playing immediately at rate 1.0 from the beginning of the movie. These default characteristics can be modified by setting layer properties or movie properties
QTCaptureLayer.hCreates a QTCaptureLayer associated with the specified QTCaptureSession object.
- (id)initWithSession:(QTCaptureSession *)session
By default, the movie starts playing immediately at rate 1.0 from the beginning of the movie. These default characteristics can be modified by setting layer properties or movie properties.
QTCaptureLayer.hReturns the capture session associated with a QTCaptureLayer object.
- (QTCaptureSession *)session
QTCaptureLayer.hSets or resets the capture session associated with a QTCaptureLayer object.
- (void)setSession:(QTCaptureSession *)session
QTCaptureLayer.h
Last updated: 2007-10-31