C# 클래스 EzGame.Sound

파일 보기 프로젝트 열기: CodeTreeCommunity/Shooter2D

공개 프로퍼티들

프로퍼티 타입 설명
Channels Microsoft.Xna.Framework.Audio.SoundEffectInstance[]

공개 메소드들

메소드 설명
Get ( string Path ) : SoundEffect
Initialize ( int Channels ) : void
Load ( string Path ) : void
Loop ( ushort Channel, bool Value ) : bool
Looped ( ushort Channel ) : bool?
Pause ( string Path ) : bool
Pause ( ushort Channel ) : bool
Play ( string Path ) : ushort?
Play ( string Path, bool Loop ) : ushort?
Play ( string Path, bool Loop, float Volume ) : ushort?
Stop ( string Path ) : bool
Stop ( ushort Channel ) : bool
Unload ( string Path ) : void
Volume ( ushort Channel, float Value ) : bool
Volume ( ushort Channel ) : float?

메소드 상세

Get() 공개 정적인 메소드

public static Get ( string Path ) : SoundEffect
Path string
리턴 Microsoft.Xna.Framework.Audio.SoundEffect

Initialize() 공개 정적인 메소드

public static Initialize ( int Channels ) : void
Channels int
리턴 void

Load() 공개 정적인 메소드

public static Load ( string Path ) : void
Path string
리턴 void

Loop() 공개 정적인 메소드

public static Loop ( ushort Channel, bool Value ) : bool
Channel ushort
Value bool
리턴 bool

Looped() 공개 정적인 메소드

public static Looped ( ushort Channel ) : bool?
Channel ushort
리턴 bool?

Pause() 공개 정적인 메소드

public static Pause ( string Path ) : bool
Path string
리턴 bool

Pause() 공개 정적인 메소드

public static Pause ( ushort Channel ) : bool
Channel ushort
리턴 bool

Play() 공개 정적인 메소드

public static Play ( string Path ) : ushort?
Path string
리턴 ushort?

Play() 공개 정적인 메소드

public static Play ( string Path, bool Loop ) : ushort?
Path string
Loop bool
리턴 ushort?

Play() 공개 정적인 메소드

public static Play ( string Path, bool Loop, float Volume ) : ushort?
Path string
Loop bool
Volume float
리턴 ushort?

Stop() 공개 정적인 메소드

public static Stop ( string Path ) : bool
Path string
리턴 bool

Stop() 공개 정적인 메소드

public static Stop ( ushort Channel ) : bool
Channel ushort
리턴 bool

Unload() 공개 정적인 메소드

public static Unload ( string Path ) : void
Path string
리턴 void

Volume() 공개 정적인 메소드

public static Volume ( ushort Channel, float Value ) : bool
Channel ushort
Value float
리턴 bool

Volume() 공개 정적인 메소드

public static Volume ( ushort Channel ) : float?
Channel ushort
리턴 float?

프로퍼티 상세

Channels 공개적으로 정적으로 프로퍼티

public static SoundEffectInstance[],Microsoft.Xna.Framework.Audio Channels
리턴 Microsoft.Xna.Framework.Audio.SoundEffectInstance[]