Example usage for Java javax.media.j3d PointSound fields, constructors, methods, implement or subclass
The text is from its open source code.
PointSound() Constructs and initializes a new PointSound node using default parameters. | |
PointSound(MediaContainer soundData, float initialGain, float posX, float posY, float posZ) Constructs a PointSound node object using only the provided parameter values for sound data, sample gain, and position. |
void | setCapability(int bit) Sets the specified capability bit. |
void | setDistanceGain(Point2f[] attenuation) Sets this sound's distance gain attenuation - where gain scale factor is applied to sound based on distance listener is from sound source. |
void | setEnable(boolean state) Enable or disable sound. |
void | setInitialGain(float amplitude) Set the overall gain scale factor applied to data associated with this source to increase or decrease its overall amplitude. |
void | setLoop(int loopCount) Sets a sound's loop count. |
void | setPosition(Point3f position) Sets this sound's location from the vector provided. |
void | setSchedulingBounds(Bounds region) Set the Sound's scheduling region to the specified bounds. |
void | setSoundData(MediaContainer soundData) Sets fields that define the sound source data of this node. |