Microsoft SDK for Java

setConeOrientation

This method of the DirectSound3dBuffer Class sets the orientation of the sound projection cone for this sound buffer. This method has no effect unless the cone angle and cone volume factor have also been set.

Syntax

public void setConeOrientation(float x, float y, float z, int applyFlag);

Parameters

x The x-coordinate of the new sound cone orientation vector.
y The y-coordinate of the new sound cone orientation vector.
z The z-coordinate of the new sound cone orientation vector.
applyFlag Value indicating when the setting should be applied. This value must be one of the following:

DS3D_DEFERRED
DS3D_IMMEDIATE


Remarks

The vector information in the orientation parameter of the getConeOrientation method represents the center of the sound cone. The default value is (0,0,1).

© 1999 Microsoft Corporation. All rights reserved. Terms of use.