Logo
公開メンバ関数 | 静的公開メンバ関数 | 全メンバ一覧
SharpKmyAudio.Sound クラス

公開メンバ関数

void Release ()
 
bool play (SurroundMode surroundMode, VolumeRollOffType volumeRollOff, float minimumDistance, float maximumDistance)
 
bool play (bool loop, int typeIndex, SurroundMode surroundMode, VolumeRollOffType volumeRollOff, float minimumDistance, float maximumDistance)
 
void stop ()
 
void pause ()
 
void setLoopInfo (int start, int end)
 
void setPan (float pan)
 
void setVolume (float volume)
 
void setTempo (float tempo)
 
float getPan ()
 
float getVolume ()
 
float getTempo ()
 
void setPosition (SharpKmyMath.Vector3 pos)
 
bool isPlaying ()
 
bool isAvailable ()
 
Int16[] getWaveform ()
 
UInt32 getSamplingRate ()
 
int getChannelCount ()
 

静的公開メンバ関数

static Sound load (string path)
 
static void initializeSETypeCount (int[] seCounts)
 
static void setListenerMatrix (SharpKmyMath.Matrix4 mtx)
 
static void setDistanceScaleMaxDistance (float distanceOfZeroVolume)
 

メソッド詳解

◆ getChannelCount()

int SharpKmyAudio.Sound.getChannelCount ( )

◆ getPan()

float SharpKmyAudio.Sound.getPan ( )

◆ getSamplingRate()

UInt32 SharpKmyAudio.Sound.getSamplingRate ( )

◆ getTempo()

float SharpKmyAudio.Sound.getTempo ( )

◆ getVolume()

float SharpKmyAudio.Sound.getVolume ( )

◆ getWaveform()

Int16[] SharpKmyAudio.Sound.getWaveform ( )

◆ initializeSETypeCount()

static void SharpKmyAudio.Sound.initializeSETypeCount ( int[]  seCounts)
static

◆ isAvailable()

bool SharpKmyAudio.Sound.isAvailable ( )

◆ isPlaying()

bool SharpKmyAudio.Sound.isPlaying ( )

◆ load()

static Sound SharpKmyAudio.Sound.load ( string  path)
static

◆ pause()

void SharpKmyAudio.Sound.pause ( )

◆ play() [1/2]

bool SharpKmyAudio.Sound.play ( bool  loop,
int  typeIndex,
SurroundMode  surroundMode,
VolumeRollOffType  volumeRollOff,
float  minimumDistance,
float  maximumDistance 
)

◆ play() [2/2]

bool SharpKmyAudio.Sound.play ( SurroundMode  surroundMode,
VolumeRollOffType  volumeRollOff,
float  minimumDistance,
float  maximumDistance 
)

◆ Release()

void SharpKmyAudio.Sound.Release ( )

◆ setDistanceScaleMaxDistance()

static void SharpKmyAudio.Sound.setDistanceScaleMaxDistance ( float  distanceOfZeroVolume)
static

◆ setListenerMatrix()

static void SharpKmyAudio.Sound.setListenerMatrix ( SharpKmyMath.Matrix4  mtx)
static

◆ setLoopInfo()

void SharpKmyAudio.Sound.setLoopInfo ( int  start,
int  end 
)

◆ setPan()

void SharpKmyAudio.Sound.setPan ( float  pan)

◆ setPosition()

void SharpKmyAudio.Sound.setPosition ( SharpKmyMath.Vector3  pos)

◆ setTempo()

void SharpKmyAudio.Sound.setTempo ( float  tempo)

◆ setVolume()

void SharpKmyAudio.Sound.setVolume ( float  volume)

◆ stop()

void SharpKmyAudio.Sound.stop ( )