class_audiostreamrandompitch.rst 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the AudioStreamRandomPitch.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_AudioStreamRandomPitch:
  5. AudioStreamRandomPitch
  6. ======================
  7. **Inherits:** :ref:`AudioStream<class_AudioStream>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. Plays audio with random pitch shifting.
  12. Properties
  13. ----------
  14. +---------------------------------------+-------------------------------------------------------------------------+------+
  15. | :ref:`AudioStream<class_AudioStream>` | :ref:`audio_stream<class_AudioStreamRandomPitch_property_audio_stream>` | null |
  16. +---------------------------------------+-------------------------------------------------------------------------+------+
  17. | :ref:`float<class_float>` | :ref:`random_pitch<class_AudioStreamRandomPitch_property_random_pitch>` | 1.1 |
  18. +---------------------------------------+-------------------------------------------------------------------------+------+
  19. Description
  20. -----------
  21. Randomly varies pitch on each start.
  22. Property Descriptions
  23. ---------------------
  24. .. _class_AudioStreamRandomPitch_property_audio_stream:
  25. - :ref:`AudioStream<class_AudioStream>` **audio_stream**
  26. +-----------+-------------------------+
  27. | *Default* | null |
  28. +-----------+-------------------------+
  29. | *Setter* | set_audio_stream(value) |
  30. +-----------+-------------------------+
  31. | *Getter* | get_audio_stream() |
  32. +-----------+-------------------------+
  33. The current :ref:`AudioStream<class_AudioStream>`.
  34. .. _class_AudioStreamRandomPitch_property_random_pitch:
  35. - :ref:`float<class_float>` **random_pitch**
  36. +-----------+-------------------------+
  37. | *Default* | 1.1 |
  38. +-----------+-------------------------+
  39. | *Setter* | set_random_pitch(value) |
  40. +-----------+-------------------------+
  41. | *Getter* | get_random_pitch() |
  42. +-----------+-------------------------+
  43. The intensity of random pitch variation.