Microsoft DirectX 8.0 (Visual Basic)

DirectSound3DListener8.GetDistanceFactor

ベクトル単位のメートル数で距離係数を取得する。

object.GetDistanceFactor() As Single

指定項目

object
DirectSound3DListener8 オブジェクトを指定する。

戻り値

距離係数を返す。

エラー コード

失敗した場合はエラーが発生し、Err.NumberDSERR_INVALIDPARAM が設定される。

参照

DirectSound3DListener8.SetDistanceFactor距離係数