espresso3d.engine.sound
Class E3DSound3D
java.lang.Object
espresso3d.engine.base.E3DEngineItem
espresso3d.engine.sound.E3DSound
espresso3d.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
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
E3DSound3D
public E3DSound3D(E3DEngine engine,
java.lang.String soundName,
int soundBufferID)
E3DSound3D
public E3DSound3D(E3DSound toCopySound)
E3DSound3D
public E3DSound3D(E3DSound3D toCopySound3D)
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()