glscene

 

TGLBaseSoundSource

Page history last edited by skinhat 4 yrs ago

This class is used by the TGLBSoundEmitter source property. It allows the specification of the sound library and the sound name that you wish to emit.

Important TGLBaseSoundSource properties include:

soundlibrary: TGLSoundLibrary The sound library that holds the sound you want to play.

soundname: The name of the sound in the library. It is the filename of the sound without the path.

volume: Sound volume between 0 and 1

nbloops: How many times the sound will loop

Demo: CVS/Demos/sound/3Dsound

Unit: GLSound

Descends from TGLCollectionItem.

Comments (0)

You don't have permission to comment on this page.