Arcade
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
GameAPI.BudgetBoy.Sound Class Referenceabstract

Represents an audio clip with a single channel, stored as an array of samples. More...

Inherits GameAPI.ISound.

Inherited by GameAPI.BudgetBoy.SoundInstance, and GameAPI.BudgetBoy.SoundInternal.

Public Member Functions

override int GetHashCode ()
 
void Play (float pan=0f, float volume=1f, float pitch=1f, bool looping=false)
 
void Stop ()
 
override bool Equals (object obj)
 
bool Equals (Sound sound)
 
abstract Sound Clone ()
 

Properties

abstract int ID [get]
 
abstract int SampleCount [get]
 
abstract int SampleRate [get]
 
double Length [get]
 
bool IsPlaying [get]
 

Detailed Description

Represents an audio clip with a single channel, stored as an array of samples.

Member Function Documentation

abstract Sound GameAPI.BudgetBoy.Sound.Clone ( )
pure virtual
override bool GameAPI.BudgetBoy.Sound.Equals ( object  obj)
inline
bool GameAPI.BudgetBoy.Sound.Equals ( Sound  sound)
inline
override int GameAPI.BudgetBoy.Sound.GetHashCode ( )
inline
void GameAPI.BudgetBoy.Sound.Play ( float  pan = 0f,
float  volume = 1f,
float  pitch = 1f,
bool  looping = false 
)
inline
void GameAPI.BudgetBoy.Sound.Stop ( )
inline

Property Documentation

abstract int GameAPI.BudgetBoy.Sound.ID
get
bool GameAPI.BudgetBoy.Sound.IsPlaying
get
double GameAPI.BudgetBoy.Sound.Length
get
abstract int GameAPI.BudgetBoy.Sound.SampleCount
get
abstract int GameAPI.BudgetBoy.Sound.SampleRate
get