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::GetRolloffFactor() ]
[ next: GetVelocity() ]
[ prev: GetPosition() ]
public:
virtual bool __fastcall GetRolloffFactor( D3DVALUE* pRolloffFactor );
TDX_SOUND3DLISTENER::GETROLLOFFFACTOR()
[ component method ]
- Description
The
TDx_Sound3DListener::GetRolloffFactor
method
will
return
the
rolloff
factor
currently
set
for
the
listener.
The
minimum,
maximum
and
default
rolloff
values
are
defined
in
the
dsound.h
DS3D_MINROLLOFFFACTOR,
DS3D_MAXROLLOFFFACTOR
and
DS3D_DEFAULTROLLOFFFACTOR
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:
DSERR_INVALIDPARAM
- Parameters
RolloffFactor
The RolloffFactor parameter references a D3DVALUE for holding the current rolloff factor 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.
|
|