Inherits from | |
Conforms to | |
Framework | /System/Library/Frameworks/QTKit.framework |
Availability | Available in QuickTime 7.2.1 and later. |
Declared in | QTMovieLayer.h |
Related sample code |
This class provides a layer into which the frames of a QTMovie
can be drawn, and is intended to provide support for Core Animation, that is, drawing the contents of a movie into a layer. QTMovieLayer
renders a QTMovie
within a layer hierarchy. Note that this class requires rendering using visual contexts. Do not attempt to directly modify the contents
property of an QTMovieLayer
object. Doing so will effectively turn it into a regular CALayer
.
Creates an autoreleased QTMovieLayer
associated with the specified QTMovie
object.
+ (id)layerWithMovie:(QTMovie *)movie
The QuickTime movie with which to create an autoreleased QuickTime layer object.
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.
QTMovieLayer.h
Creates a QTMovieLayer
associated with the specified QTMovie
object.
- (id)initWithMovie:(QTMovie *)movie
The QuickTime movie with which to initialize the QuickTime layer object.
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.
QTMovieLayer.h
Returns the movie associated with a QTMovieLayer
object.
- (QTMovie *)movie
QTMovieLayer.h
© 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-04-06)