OROCHI
 
Loading...
Searching...
No Matches
GxMoviePlayerBase Class Reference

ムービークラス More...

#include <GxMoviePlayerBase.h>

Inheritance diagram for GxMoviePlayerBase:
Collaboration diagram for GxMoviePlayerBase:

Public Types

定義
enum class  MOVIE_PLAYER_STATUS {
  ERROR_ = 0 , IDLE = 1 , BUFFERING , PLAYING ,
  PAUSING , PAUSED , STOPPING , STOPPED ,
  TERMINATING , TERMINATED
}
 ムービープレイヤーステータス More...
 
enum class  MOVIE_PLAYER_FUNC_ID {
  NONE = 0 , INITIALIZE , TERMINATE , UPDATE ,
  RENDER , PLAY , STOP , PAUSE ,
  SET_VOLUME , SET_PLAYSPEED , SET_SCREEN_OFFSET , SEEK ,
  GET_STATE , GET_TIME , MAX
}
 ムービープレイヤー関数ID More...
 

Public Member Functions

初期化
 GxMoviePlayerBase (void)
 デフォルトコンストラクタ
 
 ~GxMoviePlayerBase (void) override
 デストラクタ
 
virtual b32 initialize (const GxMoviePlayerInitializeInfo &information)
 初期化
 
void finalize (void)
 終了
 
virtual GX_FORCE_INLINE void release (void)
 開放
 
virtual GX_FORCE_INLINE void update (void)
 更新
 
アクセサ
virtual GX_FORCE_INLINE b32 setVolume (f32)
 ボリューム設定
 
virtual GX_FORCE_INLINE b32 getVolume (f32 &)
 ボリューム取得
 
virtual GX_FORCE_INLINE b32 setPlaySpeed (f32)
 再生スピード設定
 
virtual GX_FORCE_INLINE b32 setScreenOffset (f32, f32)
 描画位置にオフセットを設定
 
virtual GX_FORCE_INLINE b32 setScreenSize (f32, f32)
 描画サイズを設定する(指定しなかった場合は動画ファイルの動画サイズ)
 
virtual GX_FORCE_INLINE b32 setPriority (u8, f32)
 描画プライオリティ(Hud ユニットの setPriority() と z 位置の関係に準拠)
 
virtual GX_FORCE_INLINE b32 setRenderHud (b32)
 Hudユニットで描画するか設定
 
virtual GX_FORCE_INLINE b32 setProjectionMatrixId (u32)
 2D Primitive 射影行列 ID を設定
 
virtual GX_FORCE_INLINE GxResTexturegetTextureResource (void) const
 レンダリング先のテクスチャリソースを取得
 
virtual GX_FORCE_INLINE GxRenderTexturegetRenderTexture (void) const
 レンダーテクスチャを取得
 
virtual GX_FORCE_INLINE b32 isLoop (void)
 ループ判定を取得
 
virtual GX_FORCE_INLINE b32 setLoop (b32)
 ループ判定を設定
 
virtual GX_FORCE_INLINE f32 getTime (void)
 開始からの時間(秒単位)取得
 
virtual GX_FORCE_INLINE f32 getTotalTime (void)
 全体の時間(秒単位)取得
 
virtual GX_FORCE_INLINE b32 isFunctionExit (s32)
 
virtual GX_FORCE_INLINE b32 isFunctionSuccess (s32)
 
virtual GX_FORCE_INLINE s32 getCaption (GxMovieCaption::GxCaption *, u32)
 
virtual GX_FORCE_INLINE s32 getRuby (GxMovieCaption::GxRuby *, u32, const GxMovieCaption::GxCaption &)
 
virtual GX_FORCE_INLINE void setScaleColor (const GxColor &)
 乗算されるカラーを設定( PC PS4 vita 対応 )
 
virtual GX_FORCE_INLINE void setTargetMaterial (GxRenderMaterial *)
 上書きをしにいくマテリアルを設定
 
- Public Member Functions inherited from GxClassBase
constexpr GxClassBase (void)
 コンストラクタ
 
constexpr GxClassBase (const GxClassBase &base)
 コピーコンストラクタ
 
 ~GxClassBase (void) override
 デストラクタ
 
- Public Member Functions inherited from GxClassBaseRoot
constexpr GxClassBaseRoot (void)
 コンストラクタ
 
constexpr GxClassBaseRoot (const GxClassBaseRoot &)
 コピーコンストラクタ
 
virtual ~GxClassBaseRoot (void)
 デストラクタ
 
constexpr GxClassBaseRootoperator= (const GxClassBaseRoot &)
 代入演算子
 
virtual GxRttigetRtti (void) const =0
 Rttiの取得
 
virtual GX_FORCE_INLINE const GxTypedObjectgetDefaultObject (void)
 デフォルトオブジェクトを取得
 
GX_FORCE_INLINE b32 isDefaultObject (void)
 デフォルトオブジェクト判定
 

Protected Attributes

メンバ変数
GxString _fullFilePath
 フルパス
 
b32 _isInitialize
 初期化済フラグ
 
b32 _isUseCaption
 字幕使用フラグ
 
b32 _canPlay
 再生できるかフラグ
 

操作

b32 canPlay (void)
 再生できるか
 
virtual GX_FORCE_INLINE b32 play (void)
 再生
 
virtual GX_FORCE_INLINE b32 stop (void)
 停止
 
virtual GX_FORCE_INLINE b32 pause (b32)
 一時停止
 
virtual GX_FORCE_INLINE b32 seek (u32)
 シーク
 
virtual GX_FORCE_INLINE b32 terminate (void)
 終了
 

Additional Inherited Members

- Static Public Member Functions inherited from GxClassBaseRoot
static GX_FORCE_INLINE GxRtti__getStaticRtti (void)
 Rttiの取得
 

Detailed Description

ムービークラス

Member Enumeration Documentation

◆ MOVIE_PLAYER_FUNC_ID

ムービープレイヤー関数ID

Enumerator
NONE 

なし

INITIALIZE 

初期化

TERMINATE 

終了

UPDATE 

更新

RENDER 

描画

PLAY 

再生

STOP 

停止

PAUSE 

ポーズ

SET_VOLUME 

ボリューム設定

SET_PLAYSPEED 

再生スピード変更

SET_SCREEN_OFFSET 

スクリーン座標にオフセット値を入れる

SEEK 

シーク(ミリ秒単位)

GET_STATE 

状態取得

GET_TIME 

開始からの時間(秒単位)取得

MAX 

定義数

◆ MOVIE_PLAYER_STATUS

ムービープレイヤーステータス

Enumerator
ERROR_ 

エラー

IDLE 

待機

BUFFERING 

バッファリング

PLAYING 

再生中

PAUSING 

一時停止処理中

PAUSED 

一時停止

STOPPING 

停止処理中

STOPPED 

停止

TERMINATING 

終了処理中

TERMINATED 

終了

Member Function Documentation

◆ canPlay()

b32 GxMoviePlayerBase::canPlay ( void )

再生できるか

Returns
再生できるならtrue
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCaption()

virtual GX_FORCE_INLINE s32 GxMoviePlayerBase::getCaption ( GxMovieCaption::GxCaption * ,
u32  )
inlinevirtual

Reimplemented in GxMoviePlayer.

◆ getRenderTexture()

virtual GX_FORCE_INLINE GxRenderTexture * GxMoviePlayerBase::getRenderTexture ( void ) const
inlinevirtual

レンダーテクスチャを取得

Reimplemented in GxMoviePlayer.

◆ getRuby()

virtual GX_FORCE_INLINE s32 GxMoviePlayerBase::getRuby ( GxMovieCaption::GxRuby * ,
u32 ,
const GxMovieCaption::GxCaption &  )
inlinevirtual

Reimplemented in GxMoviePlayer.

◆ getTextureResource()

virtual GX_FORCE_INLINE GxResTexture * GxMoviePlayerBase::getTextureResource ( void ) const
inlinevirtual

レンダリング先のテクスチャリソースを取得

Reimplemented in GxMoviePlayer.

◆ getTime()

virtual GX_FORCE_INLINE f32 GxMoviePlayerBase::getTime ( void )
inlinevirtual

開始からの時間(秒単位)取得

Reimplemented in GxMoviePlayer.

◆ getTotalTime()

virtual GX_FORCE_INLINE f32 GxMoviePlayerBase::getTotalTime ( void )
inlinevirtual

全体の時間(秒単位)取得

Reimplemented in GxMoviePlayer.

◆ getVolume()

virtual GX_FORCE_INLINE b32 GxMoviePlayerBase::getVolume ( f32 & )
inlinevirtual

ボリューム取得

Reimplemented in GxMoviePlayer.

◆ initialize()

b32 GxMoviePlayerBase::initialize ( const GxMoviePlayerInitializeInfo & information)
virtual

初期化

Parameters
information[in] 初期化情報
Returns
成功ならtrue

Reimplemented in GxMoviePlayer.

Here is the call graph for this function:

◆ isFunctionExit()

virtual GX_FORCE_INLINE b32 GxMoviePlayerBase::isFunctionExit ( s32 )
inlinevirtual

Reimplemented in GxMoviePlayer.

◆ isFunctionSuccess()

virtual GX_FORCE_INLINE b32 GxMoviePlayerBase::isFunctionSuccess ( s32 )
inlinevirtual

Reimplemented in GxMoviePlayer.

◆ isLoop()

virtual GX_FORCE_INLINE b32 GxMoviePlayerBase::isLoop ( void )
inlinevirtual

ループ判定を取得

Reimplemented in GxMoviePlayer.

◆ pause()

virtual GX_FORCE_INLINE b32 GxMoviePlayerBase::pause ( b32 )
inlinevirtual

一時停止

Reimplemented in GxMoviePlayer.

◆ play()

virtual GX_FORCE_INLINE b32 GxMoviePlayerBase::play ( void )
inlinevirtual

再生

Reimplemented in GxMoviePlayer.

Here is the caller graph for this function:

◆ release()

virtual GX_FORCE_INLINE void GxMoviePlayerBase::release ( void )
inlinevirtual

開放

Reimplemented in GxMoviePlayer.

◆ seek()

virtual GX_FORCE_INLINE b32 GxMoviePlayerBase::seek ( u32 )
inlinevirtual

シーク

Reimplemented in GxMoviePlayer.

◆ setLoop()

virtual GX_FORCE_INLINE b32 GxMoviePlayerBase::setLoop ( b32 )
inlinevirtual

ループ判定を設定

Reimplemented in GxMoviePlayer.

◆ setPlaySpeed()

virtual GX_FORCE_INLINE b32 GxMoviePlayerBase::setPlaySpeed ( f32 )
inlinevirtual

再生スピード設定

Reimplemented in GxMoviePlayer.

◆ setPriority()

virtual GX_FORCE_INLINE b32 GxMoviePlayerBase::setPriority ( u8 ,
f32  )
inlinevirtual

描画プライオリティ(Hud ユニットの setPriority() と z 位置の関係に準拠)

Reimplemented in GxMoviePlayer.

◆ setRenderHud()

virtual GX_FORCE_INLINE b32 GxMoviePlayerBase::setRenderHud ( b32 )
inlinevirtual

Hudユニットで描画するか設定

Reimplemented in GxMoviePlayer.

◆ setScaleColor()

virtual GX_FORCE_INLINE void GxMoviePlayerBase::setScaleColor ( const GxColor & )
inlinevirtual

乗算されるカラーを設定( PC PS4 vita 対応 )

Reimplemented in GxMoviePlayer.

◆ setScreenOffset()

virtual GX_FORCE_INLINE b32 GxMoviePlayerBase::setScreenOffset ( f32 ,
f32  )
inlinevirtual

描画位置にオフセットを設定

Reimplemented in GxMoviePlayer.

◆ setScreenSize()

virtual GX_FORCE_INLINE b32 GxMoviePlayerBase::setScreenSize ( f32 ,
f32  )
inlinevirtual

描画サイズを設定する(指定しなかった場合は動画ファイルの動画サイズ)

Reimplemented in GxMoviePlayer.

◆ setTargetMaterial()

virtual GX_FORCE_INLINE void GxMoviePlayerBase::setTargetMaterial ( GxRenderMaterial * )
inlinevirtual

上書きをしにいくマテリアルを設定

Reimplemented in GxMoviePlayer.

Here is the caller graph for this function:

◆ setVolume()

virtual GX_FORCE_INLINE b32 GxMoviePlayerBase::setVolume ( f32 )
inlinevirtual

ボリューム設定

Reimplemented in GxMoviePlayer.

◆ stop()

virtual GX_FORCE_INLINE b32 GxMoviePlayerBase::stop ( void )
inlinevirtual

停止

Reimplemented in GxMoviePlayer.

Here is the caller graph for this function:

◆ terminate()

virtual GX_FORCE_INLINE b32 GxMoviePlayerBase::terminate ( void )
inlineprotectedvirtual

終了

Reimplemented in GxMoviePlayer.

Here is the caller graph for this function:

◆ update()

virtual GX_FORCE_INLINE void GxMoviePlayerBase::update ( void )
inlinevirtual

更新

Reimplemented in GxMoviePlayer.

Here is the caller graph for this function:

The documentation for this class was generated from the following files: