Platform SDK: DirectX

DirectSound3DBuffer.GetConeOrientation

DirectSound3DBuffer.GetConeOrientation メソッドは、サウンド バッファのサウンド プロジェクション コーンの方向を取得する。

object.GetConeOrientation(orientation As D3DVECTOR)

パラメータ

object
DirectSound3DBuffer オブジェクトを表すオブジェクト式。
orientation
サウンド プロジェクション コーンの現在の方向を受け取る D3DVECTOR 型。ベクトル情報はサウンド コーンの中心を表す。

エラー コード

失敗すればエラーが発生し、Err.NumberDSERR_INVALIDPARAM が設定される。

注意

戻り値は必ずしも DirectSound3DBuffer.SetConeOrientation メソッドを使って設定したのと同じ値ではない。DirectSound は方向ベクトルに調整を加え、それらの大きさを 1.0 以下にする。

参照

DirectSound3DBuffer.SetConeOrientationDirectSound3DBuffer.SetConeAnglesDirectSound3DBuffer.SetConeOutsideVolume