Microsoft DirectX 8.0 (Visual Basic)

DirectSound3DListener8.GetDistanceFactor

Retrieves the distance factor, which is the number of meters in a vector unit.

object.GetDistanceFactor() As Single

Parts

object
Resolves to a DirectSound3DListener8 object.

Return Values

Returns the distance factor.

Error Codes

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

See Also

DirectSound3DListener8.SetDistanceFactor, Distance Factor