DirectSound3DListener.SetDistanceFactor
The DirectSound3DListener.SetDistanceFactor method sets the distance factor.
object.SetDistanceFactor(distanceFactor As Single, _
applyFlag As CONST_DS3DAPPLYFLAGS)
Parameters
- object
- Object expression that resolves to a DirectSound3DListener object.
- distanceFactor
- Distance factor.
- applyFlag
- Value that indicates when the setting should be applied. This value must be one of the constants of the CONST_DS3DAPPLYFLAGS enumeration.
Error Codes
If the method fails, an error is raised and Err.Number may be set to DSERR_INVALIDPARAM.
Remarks
For additional information about distance factors, see Distance Factor.
See Also
DirectSound3DListener.GetDistanceFactor