OROCHI
 
Loading...
Searching...
No Matches
GxUnitHudTextAnimation.h
Go to the documentation of this file.
1//===========================================================================
9//===========================================================================
10#pragma once
11
12GX_HUD_NAMESPACE_BEGIN()
13
14//===========================================================================
16//===========================================================================
18{
19 //-------------------------------------------------------------
21 //-------------------------------------------------------------
23public:
24 // RTTI定義
25 GX_RTTI_CLASS_NAME(GxUnitHudTextAnimation, GxUnitHudText, "HUDテキストアニメーション")
26 // ClassBaseReference継承クラス用禁止宣言
28
29
30 //-------------------------------------------------------------
32 //-------------------------------------------------------------
34public:
37
39 //-------------------------------------------------------------
41 //-------------------------------------------------------------
43protected:
45 void initializeRenderFontParameter( void ) override;
47 void updateRenderFontParameter( void ) override;
49 void copyRenderFont( void ) override;
50
51#if defined(_XBOX_XS)
53 void renderFont( void ) override;
54#endif //_XBOX_XS
55
57 //-------------------------------------------------------------
59 //-------------------------------------------------------------
61public:
63 constexpr void setWaitTime( f32 time ) { _waitTime = time; }
65 GX_FORCE_INLINE b32 isEndAnimation( void ) const { return _text.getLength() > 0 ? _currentTextIndex >= _text.getLength() : false; }
66
68 //-------------------------------------------------------------
70 //-------------------------------------------------------------
72protected:
77
79};
80
81GX_HUD_NAMESPACE_END()
#define GX_PROHIBIT_CLASS_BASE_REFERENCE(__CLASS__)
GxClassBaseReference継承の禁止宣言(new以外の生成禁止 + コピー禁止)
Definition GxBase.h:244
HUDテキストアニメーションユニットクラス
Definition GxUnitHudTextAnimation.h:18
GX_FORCE_INLINE b32 isEndAnimation(void) const
アニメーション終了判定を取得
Definition GxUnitHudTextAnimation.h:65
b32 _isRender
描画判定
Definition GxUnitHudTextAnimation.h:73
constexpr void setWaitTime(f32 time)
待ち時間を設定
Definition GxUnitHudTextAnimation.h:63
f32 _currentWaitTime
現在待ち時間
Definition GxUnitHudTextAnimation.h:76
u32 _currentTextIndex
現在テキストIndex
Definition GxUnitHudTextAnimation.h:74
f32 _waitTime
待ち時間
Definition GxUnitHudTextAnimation.h:75
HUDテキストユニットクラス
Definition GxUnitHudText.h:18
32bitブーリアン
Definition GxDefine.h:173