C# Class Fusion.Engine.Audio.AudioEmitter

Represnts audio emitter, the entity that emit sound in physical world.
Show file Open project: demiurghg/FusionEngine Class Usage Examples

Public Methods

Method Description
PlaySound ( SoundEffect soundEffect, PlayOptions options = PlayOptions.None ) : void

Starts playing sound

StopSound ( bool immediate ) : void

Stops playing sound

Private Methods

Method Description
Apply3D ( AudioListener listener, int operationSet ) : void

AudioEmitter ( ) : System

Pause ( ) : void
Resume ( ) : void
ToEmitter ( ) : SharpDX.X3DAudio.Emitter

Converts to X3DAudio emitter.

Method Details

PlaySound() public method

Starts playing sound
public PlaySound ( SoundEffect soundEffect, PlayOptions options = PlayOptions.None ) : void
soundEffect SoundEffect
options PlayOptions
return void

StopSound() public method

Stops playing sound
public StopSound ( bool immediate ) : void
immediate bool
return void