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::GetOrientation() ]
[ next: GetPosition() ]
[ prev: GetDopplerFactor() ]
public:
virtual bool __fastcall GetOrientation( D3DVECTOR* pOrientFront, D3DVECTOR* pOrientTop );
TDX_SOUND3DLISTENER::GETORIENTATION()
[ component method ]
- Description
The
TDx_Sound3DListener::GetOrientation
method
will
return
the
orientation
currently
set
for
the
listener.
The
front
and
top
vectors
meet
at
right
angles
within
the
listeners
head.
The
vectors
may
be
adjusted
to
ensure
they
are
at
right
angles
with
a
magnitude
of
less
than
one
and
thus
the
values
of
the
vectors
may
not
be
the
same
as
when
they
were
set.
The
front
vector
indicates
the
direction
of
the
listeners
nose,
while
the
top
vector
points
out
the
top
of
the
listeners
head.
If
the
method
call
fails,
the
OnError
event
may
be
triggered
with
the
following
value:
TDX_BADPARAMS
DSERR_INVALIDPARAM
- Parameters
OrientFront
The OrientFront parameter references a D3DVECTOR for holding the listener's front orientation if this method returns successfully.
OrientTop
The OrientTop parameter references a D3DVECTOR for holding this listener's top orientation if this method returns successfully.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|