org.xith3d.scenegraph
Class BackgroundSound

java.lang.Object
  extended by org.xith3d.scenegraph.SceneGraphObject
      extended by org.xith3d.scenegraph.Node
          extended by org.xith3d.scenegraph.Leaf
              extended by org.xith3d.scenegraph.Sound
                  extended by org.xith3d.scenegraph.BackgroundSound
All Implemented Interfaces:
org.jagatoo.datatypes.Enableable, org.jagatoo.datatypes.NamableObject, org.jagatoo.datatypes.NamedObject, org.openmali.spatial.SpatialNode

public class BackgroundSound
extends Sound

A BackgroundSound is a non-placeable sound (= no spatial effects). It's used e.g. for background music.


Field Summary
 
Fields inherited from class org.xith3d.scenegraph.Sound
DURATION_UNKNOWN, INFINITE_LOOPS, NO_FILTER
 
Fields inherited from class org.xith3d.scenegraph.Node
bounds, boundsAutoCompute, boundsDirty, globalIgnoreBounds, instanceBoundsTypeHint, transformGroup, untransformedBounds
 
Fields inherited from class org.xith3d.scenegraph.SceneGraphObject
XITH3D_USERDATAKEY_OLDUSERDATA
 
Constructor Summary
BackgroundSound(SoundContainer soundContainer)
           
BackgroundSound(SoundContainer soundContainer, float gain)
           
 
Method Summary
 
Methods inherited from class org.xith3d.scenegraph.Sound
freeOpenGLResources, getDuration, getInitialGain, getLoopType, getPriority, getRegion, getSchedulingBoundingLeaf, getSchedulingBounds, getSingletonSoundContainer, getSoundContainer, getSoundPosition, getSource, isContinuousEnabled, isDisabled, isEnabled, isPaused, isPlaying, isReady, isReady, isReleaseEnabled, play, setContinuousEnabled, setDeactivated, setDisabled, setEnabled, setInitialGain, setLive, setLoopType, setPaused, setPriority, setRegion, setReleaseEnabled, setRestarted, setSchedulingBoundingLeaf, setSchedulingBounds, setSource, traverse, wasDeactivated, wasRestarted
 
Methods inherited from class org.xith3d.scenegraph.Leaf
dump, getPickHost, setPickHost
 
Methods inherited from class org.xith3d.scenegraph.Node
absorbDetails, cloneNode, detach, duplicateNode, freeOpenGLResources, getBounds, getBoundsAutoCompute, getBoundsType, getBoundsTypeHint, getDefaultPickable, getIndentString, getInheritedNodeAttributes, getModListener, getOrderedChild, getOrderedState, getParent, getRoot, getShadowAttachment, getShowBounds, getTransformGroup, getTreeCell, getWorldBounds, getWorldTransform, getWorldTransform, isBillboard, isIgnoreBounds, isOccluder, isPickable, isRenderable, isUpdatableNode, mergeInheritedClipper, mergeInheritedNodes, mergeInheritedScissorRect, popGlobalIgnoreBounds, printBounds, pushGlobalIgnoreBounds, setBounds, setBoundsAutoCompute, setBoundsDirty, setBoundsDirtyUpward, setBoundsTypeHint, setDefaultPickable, setGlobalIgnoreBounds, setIgnoreBounds, setIsOccluder, setModListener, setOrderedChild, setParent, setPickable, setPickableRecursive, setPickableRecursive, setRenderable, setShadowAttachment, setShowBounds, setTransformGroup, setTreeCell, sharedCopy, sharedCopy, traverse, unmergeInheritedFog, unmergeInheritedLight, unmergeInheritedNodes, updateBounds, updateBoundsCheap, updateOrderedChild, updateTransformGroup, updateWorldTransform
 
Methods inherited from class org.xith3d.scenegraph.SceneGraphObject
getName, getUserData, getUserData, getUserDataMap, isLive, setName, setUserData, setUserData, setUserDataRecursive, setUserDataRecursive, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BackgroundSound

public BackgroundSound(SoundContainer soundContainer,
                       float gain)

BackgroundSound

public BackgroundSound(SoundContainer soundContainer)