Platform SDK: DirectX |
IDirectSound3DBuffer::GetConeOrientation メソッドは、サウンド バッファのサウンド プロジェクション コーンの方向を取得する。
HRESULT GetConeOrientation( LPD3DVECTOR lpvOrientation );
成功すれば DS_OK、失敗すれば DSERR_INVALIDPARAM を返す。
戻り値は必ずしも IDirectSound3DBuffer::SetConeOrientation メソッドを使って設定したのと同じ値ではない。DirectSound は方向ベクトルに調整を加え、それらの大きさを 1.0 以下にする。
Windows NT/2000 : Windows 2000 が必要。
Windows 95/98 : Windows 95 以降が必要。Windows 95 用に再配布可能な形で使用可能。
ヘッダー : dsound.h で宣言。
インポート ライブラリ : dsound.lib を使用。
IDirectSound3DBuffer::SetConeOrientation、IDirectSound3DBuffer::SetConeAngles、IDirectSound3DBuffer::SetConeOutsideVolume