AudioStreamRandomPitch.xml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="AudioStreamRandomPitch" inherits="AudioStream" category="Core" version="3.0.alpha.custom_build">
  3. <brief_description>
  4. Plays audio with random pitch tweaking.
  5. </brief_description>
  6. <description>
  7. Randomly varies pitch on each start.
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <demos>
  12. </demos>
  13. <methods>
  14. <method name="get_audio_stream" qualifiers="const">
  15. <return type="AudioStream">
  16. </return>
  17. <description>
  18. </description>
  19. </method>
  20. <method name="get_random_pitch" qualifiers="const">
  21. <return type="float">
  22. </return>
  23. <description>
  24. </description>
  25. </method>
  26. <method name="set_audio_stream">
  27. <return type="void">
  28. </return>
  29. <argument index="0" name="stream" type="AudioStream">
  30. </argument>
  31. <description>
  32. </description>
  33. </method>
  34. <method name="set_random_pitch">
  35. <return type="void">
  36. </return>
  37. <argument index="0" name="scale" type="float">
  38. </argument>
  39. <description>
  40. </description>
  41. </method>
  42. </methods>
  43. <members>
  44. <member name="audio_stream" type="AudioStream" setter="set_audio_stream" getter="get_audio_stream">
  45. The current [AudioStream].
  46. </member>
  47. <member name="random_pitch" type="float" setter="set_random_pitch" getter="get_random_pitch">
  48. The intensity of random pitch variation.
  49. </member>
  50. </members>
  51. <constants>
  52. </constants>
  53. </class>