Microsoft DirectX 8.0 (C++) |
サウンド バッファのサウンド プロジェクション コーンの向きを取得する。
HRESULT GetConeOrientation( D3DVECTOR * pvOrientation );
成功した場合は DS_OK を返す。
失敗した場合は DSERR_INVALIDPARAM を返す。
戻り値は必ずしも IDirectSound3DBuffer8::SetConeOrientation メソッドを使って設定したのと同じ値ではない。DirectSound は向きベクトルに調整を加え、それらのマグニチュードを 1.0 以下にする。
ヘッダー : dsound.h で宣言。
IDirectSound3DBuffer8::SetConeOrientation、IDirectSound3DBuffer8::SetConeAngles、IDirectSound3DBuffer8::SetConeOutsideVolume