|
Moai SDK SNAPSHOT (build 42)
|
Untz sound object.
|
Inheritance diagram for MOAIUntzSound:
Collaboration diagram for MOAIUntzSound:Function List | |
| getLength | |
| getPosition | |
| getVolume | |
| getFilename | |
| isLooping | |
| isPaused | |
| isPlaying | |
| load | |
| moveVolume | |
| pause | |
| play | |
| seekVolume | |
| setLooping | |
| setLoopPoints | |
| setPosition | |
| setVolume | |
| stop | |
| getFilename | |
Return the file name of the sound.
function getFilename ( MOAIUntzSound self )
| self | ( MOAIUntzSound ) |
| getLength | |
Return the duration of the sound.
function getLength ( MOAIUntzSound self )
| self | ( MOAIUntzSound ) |
| getPosition | |
Return the position of the cursor in the sound.
function getPosition ( MOAIUntzSound self )
| self | ( MOAIUntzSound ) |
| getVolume | |
Return the volume of the sound.
function getVolume ( MOAIUntzSound self )
| self | ( MOAIUntzSound ) |
| isLooping | |
Return the looping status if the sound.
function isLooping ( MOAIUntzSound self )
| self | ( MOAIUntzSound ) |
| isPaused | |
Return the pause status of the sound.
function isPaused ( MOAIUntzSound self )
| self | ( MOAIUntzSound ) |
| isPlaying | |
Return the playing status of the sound.
function isPlaying ( MOAIUntzSound self )
| self | ( MOAIUntzSound ) |
| load | |
Loads a sound from disk.
function load ( MOAIUntzSound self, string filename )
| self | ( MOAIUntzSound ) |
| filename | ( string ) |
| moveVolume | |
Animation helper for volume attribute,.
function moveVolume ( MOAITransform self, number vDelta, number length [, number mode ] )
| self | ( MOAITransform ) |
| vDelta | ( number ) Delta to be added to v. |
| length | ( number ) Length of animation in seconds. |
| mode | ( number ) Optional. The ease mode. One of MOAIEaseType.EASE_IN, MOAIEaseType.EASE_OUT, MOAIEaseType.FLAT MOAIEaseType.LINEAR, MOAIEaseType.SMOOTH, MOAIEaseType.SOFT_EASE_IN, MOAIEaseType.SOFT_EASE_OUT, MOAIEaseType.SOFT_SMOOTH. Defaults to MOAIEaseType.SMOOTH. |
| pause | |
Pause the sound.
function pause ( MOAIUntzSound self )
| self | ( MOAIUntzSound ) |
| play | |
| seekVolume | |
Animation helper for volume attribute,.
function seekVolume ( MOAITransform self, number vGoal, number length [, number mode ] )
| self | ( MOAITransform ) |
| vGoal | ( number ) Desired resulting value for v. |
| length | ( number ) Length of animation in seconds. |
| mode | ( number ) Optional. The ease mode. One of MOAIEaseType.EASE_IN, MOAIEaseType.EASE_OUT, MOAIEaseType.FLAT MOAIEaseType.LINEAR, MOAIEaseType.SMOOTH, MOAIEaseType.SOFT_EASE_IN, MOAIEaseType.SOFT_EASE_OUT, MOAIEaseType.SOFT_SMOOTH. Defaults to MOAIEaseType.SMOOTH. |
| setLooping | |
Set or clear the looping status of the sound.
function setLooping ( MOAIUntzSound self [, boolean looping ] )
| self | ( MOAIUntzSound ) |
| looping | ( boolean ) Optional. Default value is 'false.' |
| setLoopPoints | |
Sets the start and end looping positions for the sound.
function setLoopPoints ( MOAIUntzSound self, double startTime, double endTime )
| self | ( MOAIUntzSound ) |
| startTime | ( double ) |
| endTime | ( double ) |
| setPosition | |
Sets the position of the sound cursor.
function setPosition ( MOAIUntzSound self [, boolean position ] )
| self | ( MOAIUntzSound ) |
| position | ( boolean ) Optional. Default value is 0. |
| setVolume | |
Sets the volume of the sound.
function setVolume ( MOAIUntzSound self [, boolean volume ] )
| self | ( MOAIUntzSound ) |
| volume | ( boolean ) Optional. Default value is 0. |
| stop | |
Stops the sound from playing.
function stop ( MOAIUntzSound self )
| self | ( MOAIUntzSound ) |