Java javax.media.j3d PointSound fields, constructors, methods, implement or subclass

Example usage for Java javax.media.j3d PointSound fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.media.j3d PointSound.

The text is from its open source code.

Constructor

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.

Method

voidsetCapability(int bit)
Sets the specified capability bit.
voidsetDistanceGain(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.
voidsetEnable(boolean state)
Enable or disable sound.
voidsetInitialGain(float amplitude)
Set the overall gain scale factor applied to data associated with this source to increase or decrease its overall amplitude.
voidsetLoop(int loopCount)
Sets a sound's loop count.
voidsetPosition(Point3f position)
Sets this sound's location from the vector provided.
voidsetSchedulingBounds(Bounds region)
Set the Sound's scheduling region to the specified bounds.
voidsetSoundData(MediaContainer soundData)
Sets fields that define the sound source data of this node.