C# Class FlatRedBall.Audio.PositionedSound

A sound which has a position enabling effects such as doppler effect and distance-based volume adjustments.
Inheritance: PositionedObject
Afficher le fichier Open project: vchelaru/FlatRedBall Class Usage Examples

Méthodes publiques

Свойство Type Description
Variables SoundVariableCollection

Protected Properties

Свойство Type Description
mEmitter Microsoft.Xna.Framework.Audio.AudioEmitter
mSound Sound

Méthodes publiques

Méthode Description
Pause ( ) : void

Pauses playback of this sound

Play ( ) : void

Begins playback of this sound, or resumes playback (if it has been paused)

PositionedSound ( Cue cue, String cueName, string soundBankFile ) : System
Stop ( ) : void

Stops playing this sound immediately

StopAsAuthored ( ) : void

Stops playing this sound as authored in the XACT project

StopImmediately ( ) : void

Stops playing this sound immediately

Private Methods

Méthode Description
UpdateAudio ( ) : void

Method Details

Pause() public méthode

Pauses playback of this sound
public Pause ( ) : void
Résultat void

Play() public méthode

Begins playback of this sound, or resumes playback (if it has been paused)
public Play ( ) : void
Résultat void

PositionedSound() public méthode

public PositionedSound ( Cue cue, String cueName, string soundBankFile ) : System
cue Microsoft.Xna.Framework.Audio.Cue
cueName String
soundBankFile string
Résultat System

Stop() public méthode

Stops playing this sound immediately
public Stop ( ) : void
Résultat void

StopAsAuthored() public méthode

Stops playing this sound as authored in the XACT project
public StopAsAuthored ( ) : void
Résultat void

StopImmediately() public méthode

Stops playing this sound immediately
public StopImmediately ( ) : void
Résultat void

Property Details

Variables public_oe property

public SoundVariableCollection,FlatRedBall.Audio Variables
Résultat SoundVariableCollection

mEmitter protected_oe property

protected AudioEmitter,Microsoft.Xna.Framework.Audio mEmitter
Résultat Microsoft.Xna.Framework.Audio.AudioEmitter

mSound protected_oe property

protected Sound mSound
Résultat Sound