Welcome to
www.tdxlibrary.org
Home of the
t
h
e
T
D
x
_
L
i
b
r
a
r
y
...
"
R
A
D
D
i
r
e
c
t
X
"
for
C++ Builder
...
TDx_Sound_Library v2.00 Component Reference
[
TDx_Sound3DListener
::GetPosition() ] [ next:
GetRolloffFactor()
] [ prev:
GetOrientation()
]
public:
virtual bool __fastcall GetPosition( D3DVECTOR* pPosition );
TD
X_
S
OUND3
DL
ISTENER::
G
ET
P
OSITION() [ component method ]
Description
The TDx_Sound3DListener::GetPosition method will return the current position, in
distance
units, of the
listener
.
If the method call fails, the OnError event may be triggered with the following value:
TDX_BADPARAMS
DSERR_INVALIDPARAM
Parameters
Position
The Position parameter references a
D3DVECTOR
for holding the
listener
's current position vector if this method returns successfully.
See Also
TDx_Sound3DListener
TDx_Sound3DListener::SetPosition()
Top
If you would like to submit additions or improvements to this page, click:
darren_john_dwyer@hotmail.com
.
Top
Welcome
|
Latest News
|
Tools
|
Demos
|
Tutorials
|
Reference
|
Register
|
Downloads
FAQ
|
Links
|
Site Information
This page is
Copyright
© 2019 Darren John Dwyer, Australia. All Rights Reserved.
Borland C++ Builder, CBuilder, etc are
Trademarks
of
Borland Corporation
.
DirectX, DirectDraw, Windows, etc are
Trademarks
of
Microsoft Corporation
.