com.jme.sound.fmod.scene
Class SoundSpatial

java.lang.Object
  extended bycom.jme.sound.fmod.scene.Playable
      extended bycom.jme.sound.fmod.scene.SoundSpatial
Direct Known Subclasses:
Sample3D, SoundNode

public abstract class SoundSpatial
extends Playable

Author:
Arman Ozcelik

Field Summary
protected  boolean allowInterrupt
           
 
Fields inherited from class com.jme.sound.fmod.scene.Playable
configuration, configured, listener, playingChannel
 
Constructor Summary
SoundSpatial()
           
 
Method Summary
 boolean allowsInterrupt()
           
abstract  void draw()
           
abstract  boolean fireEvent(int event)
           
 SoundSpatial getParent()
          getParent retrieve's this node's parent.
 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.
 void propagateBoundToRoot()
          propagateBoundToRoot passes the new world bound up the tree to the root.
 void setAllowInterrupt(boolean allow)
           
 void setForceCull(boolean b)
           
 void setParent(SoundSpatial node)
          setParent sets the parent of this node.
 void updateGeometricState(float time, boolean initiator)
           
 void updateWorldData(float time)
           
 
Methods inherited from class com.jme.sound.fmod.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
 

Field Detail

allowInterrupt

protected boolean allowInterrupt
Constructor Detail

SoundSpatial

public SoundSpatial()
Method Detail

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)