DirectSound3DListener8.SetDistanceFactor
ベクトル単位のメートル数で距離係数を設定する。
object.SetDistanceFactor( _
distanceFactor As Single, _
applyFlag As CONST_DS3DAPPLYFLAGS)
指定項目
- object
- DirectSound3DListener8 オブジェクトを指定する。
- distanceFactor
- 距離係数。
- applyFlag
- 設定が適用されるタイミングを指定する値。この値には、CONST_DS3DAPPLYFLAGS 列挙の定数のいずれかを指定する必要がある。
エラー コード
失敗した場合はエラーが発生し、Err.Number に DSERR_INVALIDPARAM が設定される。
参照
DirectSound3DListener8.GetDistanceFactor、距離係数