OROCHI
 
Loading...
Searching...
No Matches
GxUnitSoundInteractive.h
Go to the documentation of this file.
1//===========================================================================
9//===========================================================================
10#pragma once
11
12GX_SOUND_NAMESPACE_BEGIN()
13
14//===========================================================================
16//===========================================================================
18{
19 //-------------------------------------------------------------
21 //-------------------------------------------------------------
23public:
24 // RTTI宣言
26 // GxClassBaseReference継承クラス用禁止宣言
28
29
30 //-------------------------------------------------------------
32 //-------------------------------------------------------------
34public:
37
39 //-----------------------------------------------------------
41 //-----------------------------------------------------------
43public:
45 void stop(f32 duration = 0.f);
46
48 //-----------------------------------------------------------
50 //-----------------------------------------------------------
52public:
54 void setUnitSounds(GxUnitSound* pBGM0, GxUnitSound* pBGM1);
56 constexpr f32 getControlValue(void) const { return _controlValue; }
58 void setControlValue(f32 value);
59
61 //-----------------------------------------------------------
63 //-----------------------------------------------------------
65private:
66 GxUnitSound* _pUnitSound[2];
67 f32 _controlValue;
68
70};
71
72GX_SOUND_NAMESPACE_END()
#define GX_PROHIBIT_CLASS_BASE_REFERENCE(__CLASS__)
GxClassBaseReference継承の禁止宣言(new以外の生成禁止 + コピー禁止)
Definition GxBase.h:244
@ UNIT_SOUND
サウンドユニット
座標ユニット基礎クラス
Definition GxUnitLocate.h:23
サウンド再生ユニット
Definition GxUnitSound.h:18
インタラクティブサウンド再生ユニット
Definition GxUnitSoundInteractive.h:18
constexpr f32 getControlValue(void) const
コントロール値を取得
Definition GxUnitSoundInteractive.h:56