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

ムービー字幕クラス More...

#include <GxMovieCaption.h>

Inheritance diagram for GxMovieCaption:
Collaboration diagram for GxMovieCaption:

Classes

struct  GxCaption
 字幕情報構造体 More...
 
class  GxDataCaption
 GxDataCaption. More...
 
class  GxDataRuby
 ルビデータクラス More...
 
struct  GxRuby
 ルビ構造体 More...
 

Public Types

定義
enum class  ALIGN { LEFT = 0 , CENTER , RIGHT }
 基準位置指定 More...
 

Public Member Functions

初期化
 GxMovieCaption (void)
 デフォルトコンストラクタ
 
 ~GxMovieCaption (void) override
 デストラクタ
 
b32 initialize (GX_CSTR filePath, GX_CSTR rubyfilePath)
 初期化
 
b32 isFinishedInitialize (void)
 初期化済み判定
 
void terminate (void)
 終了処理
 
アクセサ
s32 getCaption (GxCaption *pCation, u32 numArray, f32 time)
 字幕取得
 
s32 getRuby (GxRuby *pRuby, u32 numArray, const GxCaption &caption)
 ルビ取得
 
- 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)
 デフォルトオブジェクト判定
 

Additional Inherited Members

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

Detailed Description

ムービー字幕クラス

Member Enumeration Documentation

◆ ALIGN

enum class GxMovieCaption::ALIGN
strong

基準位置指定

Enumerator
LEFT 

CENTER 

中央

RIGHT 

Member Function Documentation

◆ getCaption()

s32 GxMovieCaption::getCaption ( GxCaption * pCation,
u32 numArray,
f32 time )

字幕取得

Parameters
pCation[out] 字幕データ
numArray[in] 最大字幕格納数
time[in] 時間(秒)
Returns
取得できた字幕の数、失敗時は負の値
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getRuby()

s32 GxMovieCaption::getRuby ( GxRuby * pRuby,
u32 numArray,
const GxCaption & caption )

ルビ取得

Parameters
pRuby[out] ルビデータ
numArray[in] 最大ルビ格納数
caption[in] 字幕情報
Returns
取得できたルビの数、失敗時は負の値
Here is the call graph for this function:
Here is the caller graph for this function:

◆ initialize()

b32 GxMovieCaption::initialize ( GX_CSTR filePath,
GX_CSTR rubyFilePath )

初期化

Parameters
filePath[in] 字幕データファイルパス
rubyFilePath[in] ルビデータファイルパス
Returns
成功ならtrue
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isFinishedInitialize()

b32 GxMovieCaption::isFinishedInitialize ( void )

初期化済み判定

Returns
成功ならtrue
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: