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

ムービークラス More...

#include <GxMoviePlayer.h>

Inheritance diagram for GxMoviePlayer:
Collaboration diagram for GxMoviePlayer:

Public Member Functions

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

操作

b32 play (void) override
 再生
 
b32 stop (void) override
 停止
 
b32 pause (b32 bPause) override
 一時停止
 
b32 seek (u32 seekOffset) override
 シーク
 
b32 terminate (void) override
 終了
 

Additional Inherited Members

- Public Types inherited from GxMoviePlayerBase
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...
 
- Static Public Member Functions inherited from GxClassBaseRoot
static GX_FORCE_INLINE GxRtti__getStaticRtti (void)
 Rttiの取得
 
- Protected Member Functions inherited from GxMoviePlayerBase
- Protected Attributes inherited from GxMoviePlayerBase
GxString _fullFilePath
 フルパス
 
b32 _isInitialize
 初期化済フラグ
 
b32 _isUseCaption
 字幕使用フラグ
 
b32 _canPlay
 再生できるかフラグ
 

Detailed Description

ムービークラス

Member Function Documentation

◆ getCaption()

s32 GxMoviePlayer::getCaption ( GxMovieCaption::GxCaption * pCation,
u32 numArray )
overridevirtual
Parameters
pCation[out] 字幕データ
numArray[in] 最大字幕格納数
Returns
取得できた字幕の数、失敗時は負の値

Reimplemented from GxMoviePlayerBase.

Here is the call graph for this function:

◆ getRenderTexture()

GxRenderTexture * GxMoviePlayer::getRenderTexture ( void ) const
overridevirtual

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

Returns
レンダーテクスチャ

Reimplemented from GxMoviePlayerBase.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getRuby()

s32 GxMoviePlayer::getRuby ( GxMovieCaption::GxRuby * pRuby,
u32 numArray,
const GxMovieCaption::GxCaption & caption )
overridevirtual
Parameters
pRuby[out] 字幕データ
numArray[in] 最大ルビ格納数
caption[in] 字幕情報
Returns
取得できたルビの数、失敗時は負の値

Reimplemented from GxMoviePlayerBase.

Here is the call graph for this function:

◆ getState()

GxMoviePlayerBase::MOVIE_PLAYER_STATUS GxMoviePlayer::getState ( void )

ステータス取得

Returns
状態
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getTextureResource()

GxResTexture * GxMoviePlayer::getTextureResource ( void ) const
overridevirtual

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

Returns
レンダーテクスチャ

Reimplemented from GxMoviePlayerBase.

Here is the call graph for this function:

◆ getTime()

f32 GxMoviePlayer::getTime ( void )
overridevirtual

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

Returns
時間

Reimplemented from GxMoviePlayerBase.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getTotalTime()

f32 GxMoviePlayer::getTotalTime ( void )
overridevirtual

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

Returns
時間

Reimplemented from GxMoviePlayerBase.

Here is the call graph for this function:

◆ getVolume()

b32 GxMoviePlayer::getVolume ( f32 & volume)
overridevirtual

ボリューム取得

Parameters
volume[in] ボリューム
Returns
成功ならtrue

Reimplemented from GxMoviePlayerBase.

Here is the call graph for this function:

◆ initialize()

b32 GxMoviePlayer::initialize ( const GxMoviePlayerInitializeInfo & information)
overridevirtual

初期化

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

Reimplemented from GxMoviePlayerBase.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isFunctionExit()

b32 GxMoviePlayer::isFunctionExit ( s32 id)
overridevirtual
Parameters
id[in] ムービープレイヤー関数ID
Returns
終了ならtrue

Reimplemented from GxMoviePlayerBase.

Here is the call graph for this function:

◆ isFunctionSuccess()

b32 GxMoviePlayer::isFunctionSuccess ( s32 id)
overridevirtual
Parameters
id[in] ムービープレイヤー関数ID
Returns
成功ならtrue

Reimplemented from GxMoviePlayerBase.

Here is the call graph for this function:

◆ isLoop()

b32 GxMoviePlayer::isLoop ( void )
overridevirtual

ループ判定を取得

Returns
ループならtrue

Reimplemented from GxMoviePlayerBase.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pause()

b32 GxMoviePlayer::pause ( b32 isPause)
overridevirtual

一時停止

Parameters
isPause[in] 一時停止ならtrue
Returns
成功ならtrue

Reimplemented from GxMoviePlayerBase.

Here is the call graph for this function:

◆ play()

b32 GxMoviePlayer::play ( void )
overridevirtual

再生

Returns
成功ならtrue

Reimplemented from GxMoviePlayerBase.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ release()

void GxMoviePlayer::release ( void )
overridevirtual

開放

Reimplemented from GxMoviePlayerBase.

Here is the caller graph for this function:

◆ seek()

b32 GxMoviePlayer::seek ( u32 seekOffset)
overridevirtual

シーク

Parameters
seekOffset[in] シーク値(ミリ秒単位)
Returns
成功ならtrue

Reimplemented from GxMoviePlayerBase.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setLoop()

b32 GxMoviePlayer::setLoop ( b32 isLoop)
overridevirtual

ループ判定を設定

Parameters
isLoop[in] ループならtrue
Returns
成功ならtrue

Reimplemented from GxMoviePlayerBase.

Here is the call graph for this function:

◆ setPlaySpeed()

b32 GxMoviePlayer::setPlaySpeed ( f32 speed)
overridevirtual

再生スピード設定

Parameters
speed[in] スピート
Returns
成功ならtrue

Reimplemented from GxMoviePlayerBase.

Here is the call graph for this function:

◆ setPriority()

b32 GxMoviePlayer::setPriority ( u8 priority,
f32 z )
overridevirtual

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

Parameters
priority[in] 優先度
z[in] Z値
Returns
成功ならtrue

Reimplemented from GxMoviePlayerBase.

Here is the call graph for this function:

◆ setRenderHud()

b32 GxMoviePlayer::setRenderHud ( b32 isRenderHud)
overridevirtual

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

Parameters
isRenderHud[in] HUDユニットで描画するならtrue
Returns
成功ならtrue

Reimplemented from GxMoviePlayerBase.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setScaleColor()

void GxMoviePlayer::setScaleColor ( const GxColor & color)
overridevirtual

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

Parameters
color[in] 色

Reimplemented from GxMoviePlayerBase.

Here is the call graph for this function:

◆ setScreenOffset()

b32 GxMoviePlayer::setScreenOffset ( f32 x,
f32 y )
overridevirtual

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

Parameters
x[in] 座標X
y[in] 座標Y
Returns
成功ならtrue

Reimplemented from GxMoviePlayerBase.

Here is the call graph for this function:

◆ setScreenSize()

b32 GxMoviePlayer::setScreenSize ( f32 width,
f32 height )
overridevirtual

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

Parameters
width[in] 幅
height[in] 高さ
Returns
成功ならtrue

Reimplemented from GxMoviePlayerBase.

Here is the call graph for this function:

◆ setTargetMaterial()

void GxMoviePlayer::setTargetMaterial ( GxRenderMaterial * pTargetMaterial)
overridevirtual

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

Parameters
pTargetMaterial[in] 対象マテリアル

Reimplemented from GxMoviePlayerBase.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setVolume()

b32 GxMoviePlayer::setVolume ( f32 volume)
overridevirtual

ボリューム設定

Parameters
volume[in] ボリューム
Returns
成功ならtrue

Reimplemented from GxMoviePlayerBase.

Here is the call graph for this function:

◆ stop()

b32 GxMoviePlayer::stop ( void )
overridevirtual

停止

Returns
成功ならtrue

Reimplemented from GxMoviePlayerBase.

Here is the call graph for this function:

◆ terminate()

b32 GxMoviePlayer::terminate ( void )
overrideprotectedvirtual

終了

Returns
成功ならtrue

Reimplemented from GxMoviePlayerBase.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ update()

void GxMoviePlayer::update ( void )
overridevirtual

更新

Reimplemented from GxMoviePlayerBase.

Here is the call graph for this function:
Here is the caller graph for this function:

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