Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_Sound_Library v2.00 Component Reference
|
|
[ TDx_Sound3DListener::SetAllParameters() ]
[ next: SetDistanceFactor() ]
[ prev: GetVelocity() ]
public:
virtual bool __fastcall SetAllParameters( TDS3DListener* pListener, dword pApply );
TDX_SOUND3DLISTENER::SETALLPARAMETERS()
[ component method ]
- Description
The
TDx_Sound3DListener::SetAllParameters
method
will
set
the
3D
characteristics
for
the
3D
world
and
the
listener.
If
the
method
call
fails,
the
OnError
event
may
be
triggered
with
the
following
value:
TDX_BADPARAMS
DSERR_INVALIDPARAM
- Parameters
Listener
The Listener parameter references a TDS3DListener component holding the 3D listener properties to be set.
Apply
The Apply parameter defines flags indicating whether the setting should be applied straight away.
The described effect applies when the flag is set.
DS3D_DEFERRED
Wait until the TDx_Sound3DListener::CommitDeferredSettings method is called before committing the settings.
This allows several changes to be made before recalculating.
DS3D_IMMEDIATE
Apply the settings immediately.
The 3D coordinates of all 3D sound buffers will be recalculated.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|