AudioEffectSpectrumAnalyzerInstance.xml 992 B

12345678910111213141516171819202122232425262728
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="AudioEffectSpectrumAnalyzerInstance" inherits="AudioEffectInstance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
  3. <brief_description>
  4. </brief_description>
  5. <description>
  6. </description>
  7. <tutorials>
  8. </tutorials>
  9. <methods>
  10. <method name="get_magnitude_for_frequency_range" qualifiers="const">
  11. <return type="Vector2" />
  12. <argument index="0" name="from_hz" type="float" />
  13. <argument index="1" name="to_hz" type="float" />
  14. <argument index="2" name="mode" type="int" enum="AudioEffectSpectrumAnalyzerInstance.MagnitudeMode" default="1" />
  15. <description>
  16. </description>
  17. </method>
  18. </methods>
  19. <constants>
  20. <constant name="MAGNITUDE_AVERAGE" value="0" enum="MagnitudeMode">
  21. Use the average value as magnitude.
  22. </constant>
  23. <constant name="MAGNITUDE_MAX" value="1" enum="MagnitudeMode">
  24. Use the maximum value as magnitude.
  25. </constant>
  26. </constants>
  27. </class>