Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_Sound_Library v2.00 Component Reference
|
|
[ TDx_Sound3DBuffer::SetAllParameters() ]
[ next: SetConeAngles() ]
[ prev: GetVelocity() ]
public:
virtual bool __fastcall SetAllParameters( TDS3DBuffer* pBuffer, dword pApply );
TDX_SOUND3DBUFFER::SETALLPARAMETERS()
[ component method ]
- Description
The
TDx_Sound3DBuffer::SetAllParameters
method
will
set
all
the
properties
of
the
sound
buffer
to
the
specified
values.
If
the
method
call
fails,
the
OnError
event
may
be
triggered
with
the
following
value:
TDX_BADPARAMS
DSERR_INVALIDPARAM
- Parameters
Buffer
The Buffer parameter references a TDS3DBuffer component holding information which describes the 3D characteristics that are to be applied to this sound buffer.
Apply
The Apply parameter defines flags indicating whether the settings should be applied immediately.
The described effect applies when the flag is set.
DS3D_DEFERRED
Wait until TDx_Sound3DListener::CommitDeferredSettings() 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.
|
|