Microsoft DirectX 8.1 (Visual Basic) |
The GetPosition method retrieves the listener's position in 3-D space.
Syntax
object.GetPosition(position As D3DVECTOR)
Parts
object
Resolves to a DirectSound3DListener8 object.
position
D3DVECTOR type that receives the listener's position vector.
Error Codes
If the method fails, an error is raised and Err.Number may be set to the value of DSERR_INVALIDPARAM.
See Also