Platform SDK: DirectX

DirectSound3DListener.GetDistanceFactor

The DirectSound3DListener.GetDistanceFactor method retrieves the distance factor, which is the number of meters in a vector unit.

object.GetDistanceFactor() As Single

Parameters

object
Object expression that resolves to a DirectSound3DListener object.

Return Values

If the method succeeds, the distance factor value is returned.

Error Codes

If the method fails, an error is raised and Err.Number may be set to DSERR_INVALIDPARAM.

See Also

DirectSound3DListener.SetDistanceFactor