Functions
Const continueMusicOnChannel
- continueMusicOnChannel(runtimeScene: RuntimeScene, channel: number): void
Const continueSoundOnChannel
- continueSoundOnChannel(runtimeScene: RuntimeScene, channel: number): void
Const fadeMusicVolume
- fadeMusicVolume(runtimeScene: RuntimeScene, channel: number, toVolume: number, timeOfFade: number): void
Parameters
channel: number
toVolume: number
timeOfFade: number
Returns void
Const fadeSoundVolume
- fadeSoundVolume(runtimeScene: RuntimeScene, channel: number, toVolume: number, timeOfFade: number): void
Parameters
channel: number
toVolume: number
timeOfFade: number
Returns void
Const getMusicOnChannelPitch
- getMusicOnChannelPitch(runtimeScene: RuntimeScene, channel: number): number
Const getMusicOnChannelPlayingOffset
- getMusicOnChannelPlayingOffset(runtimeScene: RuntimeScene, channel: number): number
Const getMusicOnChannelVolume
- getMusicOnChannelVolume(runtimeScene: RuntimeScene, channel: number): number
Const getSoundOnChannelPitch
- getSoundOnChannelPitch(runtimeScene: RuntimeScene, channel: number): number
Const getSoundOnChannelPlayingOffset
- getSoundOnChannelPlayingOffset(runtimeScene: RuntimeScene, channel: number): number
Const getSoundOnChannelVolume
- getSoundOnChannelVolume(runtimeScene: RuntimeScene, channel: number): number
Const isMusicOnChannelPaused
- isMusicOnChannelPaused(runtimeScene: RuntimeScene, channel: number): boolean
Parameters
Returns boolean
Const isMusicOnChannelPlaying
- isMusicOnChannelPlaying(runtimeScene: RuntimeScene, channel: number): boolean
Parameters
Returns boolean
Const isMusicOnChannelStopped
- isMusicOnChannelStopped(runtimeScene: RuntimeScene, channel: number): boolean
Parameters
Returns boolean
Const isSoundOnChannelPaused
- isSoundOnChannelPaused(runtimeScene: RuntimeScene, channel: number): boolean
Parameters
Returns boolean
Const isSoundOnChannelPlaying
- isSoundOnChannelPlaying(runtimeScene: RuntimeScene, channel: number): boolean
Parameters
Returns boolean
Const isSoundOnChannelStopped
- isSoundOnChannelStopped(runtimeScene: RuntimeScene, channel: number): boolean
Parameters
Returns boolean
Const pauseMusicOnChannel
- pauseMusicOnChannel(runtimeScene: RuntimeScene, channel: number): void
Const pauseSoundOnChannel
- pauseSoundOnChannel(runtimeScene: RuntimeScene, channel: number): void
Const playMusic
- playMusic(runtimeScene: RuntimeScene, soundFile: string, loop: boolean, volume: number, pitch: number): void
Parameters
soundFile: string
loop: boolean
volume: number
pitch: number
Returns void
Const playMusicOnChannel
- playMusicOnChannel(runtimeScene: RuntimeScene, soundFile: string, channel: number, loop: boolean, volume: number, pitch: number): void
Parameters
soundFile: string
channel: number
loop: boolean
volume: number
pitch: number
Returns void
Const playSound
- playSound(runtimeScene: RuntimeScene, soundFile: string, loop: boolean, volume: number, pitch: number): void
Parameters
soundFile: string
loop: boolean
volume: number
pitch: number
Returns void
Const playSoundOnChannel
- playSoundOnChannel(runtimeScene: RuntimeScene, soundFile: string, channel: number, loop: boolean, volume: number, pitch: number): void
Parameters
soundFile: string
channel: number
loop: boolean
volume: number
pitch: number
Returns void
Const preloadMusic
- preloadMusic(runtimeScene: RuntimeScene, soundFile: string): void
Const preloadSound
- preloadSound(runtimeScene: RuntimeScene, soundFile: string): void
Const setGlobalVolume
- setGlobalVolume(runtimeScene: RuntimeScene, globalVolume: number): void
Const setMusicOnChannelPitch
- setMusicOnChannelPitch(runtimeScene: RuntimeScene, channel: number, pitch: number): void
Parameters
channel: number
pitch: number
Returns void
Const setMusicOnChannelPlayingOffset
- setMusicOnChannelPlayingOffset(runtimeScene: RuntimeScene, channel: number, playingOffset: number): void
Parameters
channel: number
playingOffset: number
Returns void
Const setMusicOnChannelVolume
- setMusicOnChannelVolume(runtimeScene: RuntimeScene, channel: number, volume: number): void
Parameters
channel: number
volume: number
Returns void
Const setSoundOnChannelPitch
- setSoundOnChannelPitch(runtimeScene: RuntimeScene, channel: number, pitch: number): void
Parameters
channel: number
pitch: number
Returns void
Const setSoundOnChannelPlayingOffset
- setSoundOnChannelPlayingOffset(runtimeScene: RuntimeScene, channel: number, playingOffset: number): void
Parameters
channel: number
playingOffset: number
Returns void
Const setSoundOnChannelVolume
- setSoundOnChannelVolume(runtimeScene: RuntimeScene, channel: number, volume: number): void
Parameters
channel: number
volume: number
Returns void
Const stopMusicOnChannel
- stopMusicOnChannel(runtimeScene: RuntimeScene, channel: number): void
Const stopSoundOnChannel
- stopSoundOnChannel(runtimeScene: RuntimeScene, channel: number): void
Const unloadMusic
- unloadMusic(runtimeScene: RuntimeScene, soundFile: string): void
Const unloadSound
- unloadSound(runtimeScene: RuntimeScene, soundFile: string): void