C# 클래스 Prism.API.Audio.Sfx

파일 보기 프로젝트 열기: TerrariaPrismTeam/Prism

공개 메소드들

메소드 설명
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