C# Класс Prism.API.Audio.Sfx

Показать файл Открыть проект

Открытые методы

Метод Описание
Play ( SfxEntry entry, Point tilePos ) : SoundEffectInstance
Play ( SfxEntry entry, Point tilePos, int variant, PlaySoundEvent onPlay ) : SoundEffectInstance
Play ( SfxEntry entry, Point tilePos, int variant, float volMod = Single.NaN, float pitch = Single.NaN, float panMod = Single.NaN ) : SoundEffectInstance
Play ( SfxEntry entry, Vector2 position ) : SoundEffectInstance
Play ( SfxEntry entry, Vector2 position, int variant, PlaySoundEvent onPlay ) : SoundEffectInstance
Play ( SfxEntry entry, Vector2 position, int variant, float volMod = Single.NaN, float pitch = Single.NaN, float panMod = Single.NaN ) : SoundEffectInstance

Приватные методы

Метод Описание
ApplyParams ( SoundEffectInstance inst, Tuple t ) : void
CalcParams ( SfxEntry e, Vector2 pos, int v, PlaySoundEvent onPlay ) : Tuple
CleanupLingeringInstances ( ) : void
Play ( int type, Point tilePos, int style = -1 ) : SoundEffectInstance
Play ( int type, Vector2 position, int style = -1 ) : SoundEffectInstance
Play ( int type, int x = -1, int y = -1, int style = -1 ) : SoundEffectInstance

Описание методов

Play() публичный статический Метод

public static Play ( SfxEntry entry, Point tilePos ) : SoundEffectInstance
entry SfxEntry
tilePos Point
Результат Microsoft.Xna.Framework.Audio.SoundEffectInstance

Play() публичный статический Метод

public static Play ( SfxEntry entry, Point tilePos, int variant, PlaySoundEvent onPlay ) : SoundEffectInstance
entry SfxEntry
tilePos Point
variant int
onPlay PlaySoundEvent
Результат Microsoft.Xna.Framework.Audio.SoundEffectInstance

Play() публичный статический Метод

public static Play ( SfxEntry entry, Point tilePos, int variant, float volMod = Single.NaN, float pitch = Single.NaN, float panMod = Single.NaN ) : SoundEffectInstance
entry SfxEntry
tilePos Point
variant int
volMod float
pitch float
panMod float
Результат Microsoft.Xna.Framework.Audio.SoundEffectInstance

Play() публичный статический Метод

public static Play ( SfxEntry entry, Vector2 position ) : SoundEffectInstance
entry SfxEntry
position Vector2
Результат Microsoft.Xna.Framework.Audio.SoundEffectInstance

Play() публичный статический Метод

public static Play ( SfxEntry entry, Vector2 position, int variant, PlaySoundEvent onPlay ) : SoundEffectInstance
entry SfxEntry
position Vector2
variant int
onPlay PlaySoundEvent
Результат Microsoft.Xna.Framework.Audio.SoundEffectInstance

Play() публичный статический Метод

public static Play ( SfxEntry entry, Vector2 position, int variant, float volMod = Single.NaN, float pitch = Single.NaN, float panMod = Single.NaN ) : SoundEffectInstance
entry SfxEntry
position Vector2
variant int
volMod float
pitch float
panMod float
Результат Microsoft.Xna.Framework.Audio.SoundEffectInstance