class MovieWidget
Defined in: C4MoviePlugin.h
The MovieWidget class represents an interface widget that displays a movie.
Definition
class MovieWidget : public ImageWidget
Constructor
MovieWidget(const Vector2D& size, const char *name, unsigned_int32 loadFlags = 0);
MovieWidget(const Vector2D& size, C4::Movie *movie);
Parameters
size |
The size of the quad to which the movie is scaled.
|
name |
The name of the movie resource.
|
loadFlags |
The movie load flags. See below for a list of possible values.
|
movie |
A pointer to an existing movie object.
|
Description
The MovieWidget class displays a QuickTime movie.
The movie load flags specified by the loadFlags parameter can be any valid combination (through logical OR) of the following values.
kMovieRemoteURL |
The movie name represents a URL to a remote resource.
|
kMovieAbsolutePath |
The movie name represents an absolute path name. The kMovieRemoteURL flag is ignored if this flag is specified.
|
Base Classes
ImageWidget |
A MovieWidget is a specialized image widget.
|
|