17 INLINE
double MovieTexture::
18 get_video_length()
const {
19 CDReader cdata(_cycler);
20 return cdata->_video_length;
28 INLINE
int MovieTexture::
29 get_video_width()
const {
30 CDReader cdata(_cycler);
31 return cdata->_video_width;
39 INLINE
int MovieTexture::
40 get_video_height()
const {
41 CDReader cdata(_cycler);
42 return cdata->_video_height;
50 get_color_cursor(
int page) {
51 CDReader cdata(_cycler);
52 nassertr(page >= 0 && page < (
int)cdata->_pages.size(),
nullptr);
53 return cdata->_pages[page]._color;
61 get_alpha_cursor(
int page) {
62 CDReader cdata(_cycler);
63 nassertr(page >= 0 && page < (
int)cdata->_pages.size(),
nullptr);
64 return cdata->_pages[page]._alpha;
A MovieVideo is actually any source that provides a sequence of video frames.