Platform SDK: DirectX

DirectSound3DListener.GetDistanceFactor

DirectSound3DListener.GetDistanceFactor メソッドは、ベクトル単位のメートル数で距離係数を取得する。

object.GetDistanceFactor() As Single

パラメータ

object
DirectSound3DListener オブジェクトを表すオブジェクト式。

戻り値

成功すれば距離係数の値を返す。

エラー コード

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

参照

DirectSound3DListener.SetDistanceFactor