#include <SoundListener.h>
Public Member Functions | |
virtual void | setPosition (const Vector3 &position) |
位置の設定 | |
virtual const Vector3 & | getPosition () const |
位置の取得 | |
virtual void | setVelocity (const Vector3 &velocity) |
速度の設定 | |
virtual const Vector3 & | getVelocity () const |
速度の取得 | |
virtual void | setPositionAndVelocity (const Vector3 &position, float millisecond) |
位置と速度の設定 | |
virtual void | setDirection (const Vector3 &frontDirection, const Vector3 &upDirection) |
方向の設定 | |
virtual const Vector3 & | getFrontDirection () const |
前方向の取得 | |
virtual const Vector3 & | getUpDirection () const |
上方向の取得 | |
virtual void | setDistanceFactor (float distanceFactor) |
距離係数の設定 | |
virtual float | getDistanceFactor () const |
距離係数の取得 | |
virtual void | setRolloffFactor (float rolloffFactor) |
ロールオフ係数の設定 | |
virtual float | getRolloffFactor () const |
ロールオフ係数の取得 | |
virtual void | setDopplerFactor (float dopplerFactor) |
ドップラー係数の設定 | |
virtual float | getDopplerFactor () const |
ドップラー係数の取得 | |
virtual String | toString () const |
文字列への変換 | |
virtual void | apply3DSettings () |
3D設定の適用 | |
Friends | |
class | LampSound |
Definition at line 34 of file SoundListener.h.
|
3D設定の適用 通常はLampSound::presentation()から呼ばれます。 Definition at line 174 of file SoundListener.cpp. References DirectXFailed, and ErrorOut. Referenced by Lamp::LampSound::presentation(). |
|
距離係数の取得 デフォルト値はSoundDefinitionで定義されています。
Definition at line 108 of file SoundListener.h. |
|
ドップラー係数の取得
Definition at line 134 of file SoundListener.h. |
|
前方向の取得
Definition at line 85 of file SoundListener.h. |
|
位置の取得
Definition at line 48 of file SoundListener.h. |
|
ロールオフ係数の取得
Definition at line 121 of file SoundListener.h. |
|
上方向の取得
Definition at line 91 of file SoundListener.h. |
|
速度の取得
Definition at line 61 of file SoundListener.h. |
|
方向の設定
Definition at line 101 of file SoundListener.cpp. References Assert, DirectXFailed, ErrorOut, Lamp::Vector3::isZero(), Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. |
|
距離係数の設定 デフォルト値はSoundDefinitionで定義されています。
Definition at line 117 of file SoundListener.cpp. References Assert, DirectXFailed, and ErrorOut. |
|
ドップラー係数の設定
Definition at line 142 of file SoundListener.cpp. References Assert, DirectXFailed, and ErrorOut. |
|
位置の設定
Definition at line 67 of file SoundListener.cpp. References DirectXFailed, ErrorOut, Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. Referenced by setPositionAndVelocity(). |
|
位置と速度の設定
Definition at line 87 of file SoundListener.cpp. References Assert, setPosition(), and setVelocity(). |
|
ロールオフ係数の設定
Definition at line 129 of file SoundListener.cpp. References Assert, DirectXFailed, and ErrorOut. |
|
速度の設定
Definition at line 77 of file SoundListener.cpp. References DirectXFailed, ErrorOut, Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. Referenced by setPositionAndVelocity(). |
|
文字列への変換
Definition at line 155 of file SoundListener.cpp. References Lamp::String::format(), Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. |