www.BCB-Tools.com
Home of
RAD DirectX
for
C++ Builder
...
...
Please Register
So we can
create more
the TDx_Library
the TDx9_Library
|
TDx_Sound_Library v1.90 Component Reference
|
|
[ TDx_Sound3DListener::GetDopplerFactor() ]
[ next: GetOrientation() ]
[ prev: GetDistanceFactor() ]
public:
virtual bool __fastcall GetDopplerFactor( D3DVALUE* pDopplerFactor );
TDX_SOUND3DLISTENER::GETDOPPLERFACTOR()
[ component method ]
- Description
The
TDx_Sound3DListener::GetDopplerFactor
method
will
return
the
doppler
factor
currently
set
for
the
listener.
The
minimum,
maximum
and
default
doppler
values
are
defined
in
the
dsound.h
DS3D_MINDOPPLERFACTOR,
DS3D_MAXDOPPLERFACTOR
and
DS3D_DEFAULTDOPPLERFACTOR
members
as
0.0,
10.0
and
1.0
respectively.
If
the
method
call
fails,
the
OnError
event
may
be
triggered
with
the
following
value:
TDX_BADPARAMS
DSERR_INVALIDPARAM
- Parameters
DopplerFactor
The DopplerFactor parameter references a D3DVALUE for holding the doppler factor currently set for the listener if this method returns successfully.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: admin@bcb-tools.com.
|
|