com.jme.sound.openAL.scene
Class SoundSpatial
java.lang.Object
com.jme.sound.openAL.scene.Playable
com.jme.sound.openAL.scene.SoundSpatial
- Direct Known Subclasses:
- Sample3D, SoundNode
- public abstract class SoundSpatial
- extends Playable
- Author:
- Arman Ozcelik
| Methods inherited from class com.jme.sound.openAL.scene.Playable |
getFxChorusID, getFxCompressorID, getFxDistorsionID, getFxEchoID, getFxFlangerID, getFxGargleID, getFxI3DL2ReverbID, getFxMaxID, getFxParamEqID, getFxWavesReverbID, resetConfig, setFxChorusID, setFxCompressorID, setFxDistorsionID, setFxEchoID, setFxFlangerID, setFxGargleID, setFxI3DL2ReverbID, setFxMaxID, setFxParamEqID, setFxWavesReverbID |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
allowInterrupt
protected boolean allowInterrupt
SoundSpatial
public SoundSpatial()
setParent
public void setParent(SoundSpatial node)
setParent sets the parent of this node.
getParent
public SoundSpatial getParent()
getParent retrieve's this node's parent. If the parent is
null this is the root node.
- Returns:
- the parent of this node.
updateWorldData
public void updateWorldData(float time)
- Parameters:
time -
propagateBoundToRoot
public void propagateBoundToRoot()
propagateBoundToRoot passes the new world bound up the
tree to the root.
updateGeometricState
public void updateGeometricState(float time,
boolean initiator)
- Parameters:
time -
onDraw
public void onDraw()
onDraw checks the node with the camera to see if it should
be culled, if not, the node's draw method is called.
draw
public abstract void draw()
setForceCull
public void setForceCull(boolean b)
- Parameters:
b -
setAllowInterrupt
public void setAllowInterrupt(boolean allow)
allowsInterrupt
public boolean allowsInterrupt()
fireEvent
public abstract boolean fireEvent(int event)