瀏覽代碼

Merge pull request #18612 from Nobelix/pitch-scale-desc

Added a description to the picth_scale property.
Max Hilbrunner 7 年之前
父節點
當前提交
27e349d161
共有 3 個文件被更改,包括 3 次插入0 次删除
  1. 1 0
      doc/classes/AudioStreamPlayer.xml
  2. 1 0
      doc/classes/AudioStreamPlayer2D.xml
  3. 1 0
      doc/classes/AudioStreamPlayer3D.xml

+ 1 - 0
doc/classes/AudioStreamPlayer.xml

@@ -57,6 +57,7 @@
 			If the audio configuration has more than two speakers, this sets the target channels. See [code]MIX_TARGET_*[/code] constants.
 		</member>
 		<member name="pitch_scale" type="float" setter="set_pitch_scale" getter="get_pitch_scale">
+			Changes the pitch and the tempo of the audio.
 		</member>
 		<member name="playing" type="bool" setter="_set_playing" getter="is_playing">
 			If [code]true[/code] audio is playing.

+ 1 - 0
doc/classes/AudioStreamPlayer2D.xml

@@ -63,6 +63,7 @@
 			Maximum distance from which audio is still hearable.
 		</member>
 		<member name="pitch_scale" type="float" setter="set_pitch_scale" getter="get_pitch_scale">
+			Changes the pitch and the tempo of the audio.
 		</member>
 		<member name="playing" type="bool" setter="_set_playing" getter="is_playing">
 			If [code]true[/code] audio is playing.

+ 1 - 0
doc/classes/AudioStreamPlayer3D.xml

@@ -87,6 +87,7 @@
 			Decides if audio should pause when source is outside of 'max_distance' range.
 		</member>
 		<member name="pitch_scale" type="float" setter="set_pitch_scale" getter="get_pitch_scale">
+			Changes the pitch and the tempo of the audio.
 		</member>
 		<member name="playing" type="bool" setter="_set_playing" getter="is_playing">
 			If [code]true[/code], audio is playing.