OpenMW
|
#include <videoplayer.hpp>
Public Member Functions | |
VideoPlayer (Ogre::SceneManager *sceneMgr, Ogre::RenderWindow *window) | |
~VideoPlayer () | |
void | playVideo (const std::string &resourceName, bool allowSkipping) |
void | update () |
void | close () |
void | stopVideo () |
bool | isPlaying () |
void | setResolution (int w, int h) |
Private Attributes | |
VideoState * | mState |
bool | mAllowSkipping |
Ogre::SceneManager * | mSceneMgr |
Ogre::MaterialPtr | mVideoMaterial |
Ogre::Rectangle2D * | mRectangle |
Ogre::Rectangle2D * | mBackgroundRectangle |
Ogre::SceneNode * | mNode |
Ogre::SceneNode * | mBackgroundNode |
Ogre::RenderWindow * | mWindow |
int | mWidth |
int | mHeight |
MWRender::VideoPlayer::VideoPlayer | ( | Ogre::SceneManager * | sceneMgr, |
Ogre::RenderWindow * | window | ||
) |
void MWRender::VideoPlayer::close | ( | ) |
bool MWRender::VideoPlayer::isPlaying | ( | ) |
void MWRender::VideoPlayer::playVideo | ( | const std::string & | resourceName, |
bool | allowSkipping | ||
) |
void MWRender::VideoPlayer::setResolution | ( | int | w, |
int | h | ||
) | [inline] |
void MWRender::VideoPlayer::stopVideo | ( | ) |
void MWRender::VideoPlayer::update | ( | ) |
bool MWRender::VideoPlayer::mAllowSkipping [private] |
Ogre::SceneNode* MWRender::VideoPlayer::mBackgroundNode [private] |
Ogre::Rectangle2D* MWRender::VideoPlayer::mBackgroundRectangle [private] |
int MWRender::VideoPlayer::mHeight [private] |
Ogre::SceneNode* MWRender::VideoPlayer::mNode [private] |
Ogre::Rectangle2D* MWRender::VideoPlayer::mRectangle [private] |
Ogre::SceneManager* MWRender::VideoPlayer::mSceneMgr [private] |
VideoState* MWRender::VideoPlayer::mState [private] |
Ogre::MaterialPtr MWRender::VideoPlayer::mVideoMaterial [private] |
int MWRender::VideoPlayer::mWidth [private] |
Ogre::RenderWindow* MWRender::VideoPlayer::mWindow [private] |