espresso3d.engine.sound
Class E3DSound3D

java.lang.Object
  extended byespresso3d.engine.base.E3DEngineItem
      extended byespresso3d.engine.sound.E3DSound
          extended byespresso3d.engine.sound.E3DSound3D

public class E3DSound3D
extends E3DSound

Author:
Curt TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Constructor Summary
E3DSound3D(E3DEngine engine, java.lang.String soundName, int soundBufferID)
           
E3DSound3D(E3DSound toCopySound)
           
E3DSound3D(E3DSound3D toCopySound3D)
           
 
Method Summary
 int getAlSourceID()
           
 double getFalloffFactor()
           
 double getMaxDistance()
           
 double getReferenceDistance()
           
 E3DActor getSourceActor()
           
 void updateOrientation(E3DVector3F translationAmt)
          This is called automatically by the engine when this sounds source actor moves or rotates.
 
Methods inherited from class espresso3d.engine.sound.E3DSound
getAlSoundBufferID, getKey, getPitch, getSoundName, getVolume, isDiscarded, isPaused, setAlSoundBufferID
 
Methods inherited from class espresso3d.engine.base.E3DEngineItem
getEngine, setEngine
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

E3DSound3D

public E3DSound3D(E3DEngine engine,
                  java.lang.String soundName,
                  int soundBufferID)

E3DSound3D

public E3DSound3D(E3DSound toCopySound)

E3DSound3D

public E3DSound3D(E3DSound3D toCopySound3D)
Method Detail

getAlSourceID

public int getAlSourceID()
Overrides:
getAlSourceID in class E3DSound

getSourceActor

public E3DActor getSourceActor()

updateOrientation

public void updateOrientation(E3DVector3F translationAmt)
This is called automatically by the engine when this sounds source actor moves or rotates. This shouldn't need to be accessed by a user.

Parameters:
translationAmt - This is the amount the actor (and sound) are moving. This can be null if it is just rotating

getFalloffFactor

public double getFalloffFactor()

getMaxDistance

public double getMaxDistance()

getReferenceDistance

public double getReferenceDistance()