Platform SDK: DirectX

DirectSound3DBuffer.GetConeOrientation

The DirectSound3DBuffer.GetConeOrientation method retrieves the orientation of the sound projection cone for this sound buffer.

object.GetConeOrientation(orientation As D3DVECTOR)

Parameters

object
Object expression that resolves to a DirectSound3DBuffer 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 DirectSound3DBuffer.SetConeOrientation method. DirectSound adjusts orientation vectors so that they have a magnitude of less than or equal to 1.0.

See Also

DirectSound3DBuffer.SetConeOrientation, DirectSound3DBuffer.SetConeAngles, DirectSound3DBuffer.SetConeOutsideVolume