SceneSound.js 938 B

12345678910111213141516171819202122232425262728293031323334
  1. function SceneSound() {
  2. }
  3. SceneSound.prototype.Update = function() {
  4. Polycode.SceneSound_Update(this.__ptr)
  5. }
  6. SceneSound.prototype.Clone = function(deepClone,ignoreEditorOnly) {
  7. Polycode.SceneSound_Clone(this.__ptr, deepClone,ignoreEditorOnly)
  8. }
  9. SceneSound.prototype.applyClone = function(clone,deepClone,ignoreEditorOnly) {
  10. Polycode.SceneSound_applyClone(this.__ptr, clone,deepClone,ignoreEditorOnly)
  11. }
  12. SceneSound.prototype.isDirectionalSound = function() {
  13. Polycode.SceneSound_isDirectionalSound(this.__ptr)
  14. }
  15. SceneSound.prototype.setDirectionalSound = function(val) {
  16. Polycode.SceneSound_setDirectionalSound(this.__ptr, val)
  17. }
  18. SceneSound.prototype.getSound = function() {
  19. Polycode.SceneSound_getSound(this.__ptr)
  20. }
  21. SceneSound.prototype.setLoopOnLoad = function(val) {
  22. Polycode.SceneSound_setLoopOnLoad(this.__ptr, val)
  23. }
  24. SceneSound.prototype.getLoopOnLoad = function() {
  25. Polycode.SceneSound_getLoopOnLoad(this.__ptr)
  26. }