Свойство | Тип | Описание | |
---|---|---|---|
AssetName | string | ||
Effect | |||
IsLooped | bool |
Метод | Описание | |
---|---|---|
Play ( bool allowOverlap = false, float volume = 1 ) : |
Play the sound.
|
|
SoundEffectInfo ( string asset, |
||
Stop ( ) : void |
Stop all the instances of the sound.
|
Метод | Описание | |
---|---|---|
refreshInstances ( ) : bool |
Remove all finished instances from the cache.
|
public Play ( bool allowOverlap = false, float volume = 1 ) : |
||
allowOverlap | bool | Allow more than one instance of the sound played simultaneously. |
volume | float | Volume of the sample (0..1) |
Результат |
public SoundEffectInfo ( string asset, |
||
asset | string | |
eff | ||
isLooped | bool | |
Результат | System.Collections.Generic |
public SoundEffect,Microsoft.Xna.Framework.Audio Effect | ||
Результат |