Microsoft DirectX 8.1 (Visual Basic) |
The GetConeOrientation method retrieves the orientation of the sound projection cone for this sound buffer.
Syntax
object.GetConeOrientation(orientation As D3DVECTOR)
Parts
object
Resolves to a DirectSound3DBuffer8 object.
orientation
D3DVECTOR type that receives the current orientation of the sound projection cone. The vector information represents the center of the sound cone.
Error Codes
If the method fails, an error is raised and Err.Number may be set to DSERR_INVALIDPARAM.
Remarks
The values returned are not necessarily the same as those set by using the DirectSound3DBuffer8.SetConeOrientation method. DirectSound adjusts orientation vectors so that they have a magnitude of less than or equal to 1.0.
See Also