Microsoft DirectX 9.0 |
The GetDistanceFactor method retrieves the distance factor, which is the number of meters in a vector unit.
Syntax
HRESULT GetDistanceFactor(
D3DVALUE * pflDistanceFactor
);
Parameters
pflDistanceFactor
Address of a variable that receives the distance factor value. D3DVALUE is defined as float.
Return Values
If the method succeeds, the return value is DS_OK.
If the method fails, the return value may be DSERR_INVALIDPARAM.
Requirements
Header: Declared in dsound.h.
See Also