class_spatialstreamplayer.rst 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
  3. .. _class_SpatialStreamPlayer:
  4. SpatialStreamPlayer
  5. ===================
  6. **Inherits:** :ref:`SpatialPlayer<class_spatialplayer>` **<** :ref:`Spatial<class_spatial>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
  7. **Category:** Core
  8. Brief Description
  9. -----------------
  10. Member Functions
  11. ----------------
  12. +----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  13. | :ref:`int<class_int>` | :ref:`get_buffering_msec<class_SpatialStreamPlayer_get_buffering_msec>` **(** **)** const |
  14. +----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  15. | :ref:`float<class_float>` | :ref:`get_length<class_SpatialStreamPlayer_get_length>` **(** **)** const |
  16. +----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  17. | :ref:`int<class_int>` | :ref:`get_loop_count<class_SpatialStreamPlayer_get_loop_count>` **(** **)** const |
  18. +----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  19. | :ref:`float<class_float>` | :ref:`get_loop_restart_time<class_SpatialStreamPlayer_get_loop_restart_time>` **(** **)** const |
  20. +----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  21. | :ref:`float<class_float>` | :ref:`get_pos<class_SpatialStreamPlayer_get_pos>` **(** **)** const |
  22. +----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  23. | :ref:`AudioStream<class_audiostream>` | :ref:`get_stream<class_SpatialStreamPlayer_get_stream>` **(** **)** const |
  24. +----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  25. | :ref:`String<class_string>` | :ref:`get_stream_name<class_SpatialStreamPlayer_get_stream_name>` **(** **)** const |
  26. +----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  27. | :ref:`float<class_float>` | :ref:`get_volume<class_SpatialStreamPlayer_get_volume>` **(** **)** const |
  28. +----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  29. | :ref:`float<class_float>` | :ref:`get_volume_db<class_SpatialStreamPlayer_get_volume_db>` **(** **)** const |
  30. +----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  31. | :ref:`bool<class_bool>` | :ref:`has_autoplay<class_SpatialStreamPlayer_has_autoplay>` **(** **)** const |
  32. +----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  33. | :ref:`bool<class_bool>` | :ref:`has_loop<class_SpatialStreamPlayer_has_loop>` **(** **)** const |
  34. +----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  35. | :ref:`bool<class_bool>` | :ref:`is_paused<class_SpatialStreamPlayer_is_paused>` **(** **)** const |
  36. +----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  37. | :ref:`bool<class_bool>` | :ref:`is_playing<class_SpatialStreamPlayer_is_playing>` **(** **)** const |
  38. +----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  39. | void | :ref:`play<class_SpatialStreamPlayer_play>` **(** :ref:`float<class_float>` offset=0 **)** |
  40. +----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  41. | void | :ref:`seek_pos<class_SpatialStreamPlayer_seek_pos>` **(** :ref:`float<class_float>` time **)** |
  42. +----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  43. | void | :ref:`set_autoplay<class_SpatialStreamPlayer_set_autoplay>` **(** :ref:`bool<class_bool>` enabled **)** |
  44. +----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  45. | void | :ref:`set_buffering_msec<class_SpatialStreamPlayer_set_buffering_msec>` **(** :ref:`int<class_int>` msec **)** |
  46. +----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  47. | void | :ref:`set_loop<class_SpatialStreamPlayer_set_loop>` **(** :ref:`bool<class_bool>` enabled **)** |
  48. +----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  49. | void | :ref:`set_loop_restart_time<class_SpatialStreamPlayer_set_loop_restart_time>` **(** :ref:`float<class_float>` secs **)** |
  50. +----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  51. | void | :ref:`set_paused<class_SpatialStreamPlayer_set_paused>` **(** :ref:`bool<class_bool>` paused **)** |
  52. +----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  53. | void | :ref:`set_stream<class_SpatialStreamPlayer_set_stream>` **(** :ref:`AudioStream<class_audiostream>` stream **)** |
  54. +----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  55. | void | :ref:`set_volume<class_SpatialStreamPlayer_set_volume>` **(** :ref:`float<class_float>` volume **)** |
  56. +----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  57. | void | :ref:`set_volume_db<class_SpatialStreamPlayer_set_volume_db>` **(** :ref:`float<class_float>` db **)** |
  58. +----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  59. | void | :ref:`stop<class_SpatialStreamPlayer_stop>` **(** **)** |
  60. +----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
  61. Member Function Description
  62. ---------------------------
  63. .. _class_SpatialStreamPlayer_get_buffering_msec:
  64. - :ref:`int<class_int>` **get_buffering_msec** **(** **)** const
  65. .. _class_SpatialStreamPlayer_get_length:
  66. - :ref:`float<class_float>` **get_length** **(** **)** const
  67. .. _class_SpatialStreamPlayer_get_loop_count:
  68. - :ref:`int<class_int>` **get_loop_count** **(** **)** const
  69. .. _class_SpatialStreamPlayer_get_loop_restart_time:
  70. - :ref:`float<class_float>` **get_loop_restart_time** **(** **)** const
  71. .. _class_SpatialStreamPlayer_get_pos:
  72. - :ref:`float<class_float>` **get_pos** **(** **)** const
  73. .. _class_SpatialStreamPlayer_get_stream:
  74. - :ref:`AudioStream<class_audiostream>` **get_stream** **(** **)** const
  75. .. _class_SpatialStreamPlayer_get_stream_name:
  76. - :ref:`String<class_string>` **get_stream_name** **(** **)** const
  77. .. _class_SpatialStreamPlayer_get_volume:
  78. - :ref:`float<class_float>` **get_volume** **(** **)** const
  79. .. _class_SpatialStreamPlayer_get_volume_db:
  80. - :ref:`float<class_float>` **get_volume_db** **(** **)** const
  81. .. _class_SpatialStreamPlayer_has_autoplay:
  82. - :ref:`bool<class_bool>` **has_autoplay** **(** **)** const
  83. .. _class_SpatialStreamPlayer_has_loop:
  84. - :ref:`bool<class_bool>` **has_loop** **(** **)** const
  85. .. _class_SpatialStreamPlayer_is_paused:
  86. - :ref:`bool<class_bool>` **is_paused** **(** **)** const
  87. .. _class_SpatialStreamPlayer_is_playing:
  88. - :ref:`bool<class_bool>` **is_playing** **(** **)** const
  89. .. _class_SpatialStreamPlayer_play:
  90. - void **play** **(** :ref:`float<class_float>` offset=0 **)**
  91. .. _class_SpatialStreamPlayer_seek_pos:
  92. - void **seek_pos** **(** :ref:`float<class_float>` time **)**
  93. .. _class_SpatialStreamPlayer_set_autoplay:
  94. - void **set_autoplay** **(** :ref:`bool<class_bool>` enabled **)**
  95. .. _class_SpatialStreamPlayer_set_buffering_msec:
  96. - void **set_buffering_msec** **(** :ref:`int<class_int>` msec **)**
  97. .. _class_SpatialStreamPlayer_set_loop:
  98. - void **set_loop** **(** :ref:`bool<class_bool>` enabled **)**
  99. .. _class_SpatialStreamPlayer_set_loop_restart_time:
  100. - void **set_loop_restart_time** **(** :ref:`float<class_float>` secs **)**
  101. .. _class_SpatialStreamPlayer_set_paused:
  102. - void **set_paused** **(** :ref:`bool<class_bool>` paused **)**
  103. .. _class_SpatialStreamPlayer_set_stream:
  104. - void **set_stream** **(** :ref:`AudioStream<class_audiostream>` stream **)**
  105. .. _class_SpatialStreamPlayer_set_volume:
  106. - void **set_volume** **(** :ref:`float<class_float>` volume **)**
  107. .. _class_SpatialStreamPlayer_set_volume_db:
  108. - void **set_volume_db** **(** :ref:`float<class_float>` db **)**
  109. .. _class_SpatialStreamPlayer_stop:
  110. - void **stop** **(** **)**