OpenGL Library for Delphi,
maintained by Eric Grange,
based on Mike Lischke's GLScene.

 

Reference Manual - TGLBSoundEmitter


Allows a GLScene object to be a sound emitter. It can be added to the behaviour property of a TGLSceneObject at design time. For example a 3D owl could have a sound emitter that hoots. The sound heard depends on the position of the listener which is set in the TGLSMBass component. Typically it is the camera therefore if the sound emitter moves (eg the owl) then the sound will change depending on the emitters position relative to the camera.

Important TGLBSoundEmitter properties include:
source: TGLBaseSoundSource
Allows the setting of the sounds name, the sound library and whether the sound loops.

playing: boolean
Whether or not the sound is playing


Demo: CVS/Demos/sound/3Dsound

Unit: GLSound
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.0335 seconds