Browse Source

Merge pull request #5266 from akien-mga/gdscript-no-exp_range

Rémi Verschelde 3 years ago
parent
commit
05ed919228

+ 0 - 2
tutorials/scripting/gdscript/gdscript_basics.rst

@@ -374,8 +374,6 @@ Here's the list of available annotations:
 |                              |                                                                                                   |
 |                              |                                                                                                   |
 | ``@export_range``            |                                                                                                   |
 | ``@export_range``            |                                                                                                   |
 |                              |                                                                                                   |
 |                              |                                                                                                   |
-| ``@export_exp_range``        |                                                                                                   |
-|                              |                                                                                                   |
 | ``@export_exp_easing``       |                                                                                                   |
 | ``@export_exp_easing``       |                                                                                                   |
 |                              |                                                                                                   |
 |                              |                                                                                                   |
 | ``@export_color_no_alpha``   |                                                                                                   |
 | ``@export_color_no_alpha``   |                                                                                                   |

+ 1 - 7
tutorials/scripting/gdscript/gdscript_exports.rst

@@ -155,13 +155,7 @@ The limits can be only for the slider if you add the hints "or_greater" and/or "
 
 
     @export_range(0, 100, 1, "or_greater", "or_lesser")
     @export_range(0, 100, 1, "or_greater", "or_lesser")
 
 
-Allow values 'y = exp(x)' where 'y' varies between 100 and 1000
-while snapping to steps of 20. The editor will present a
-slider for easily editing the value.
-
-::
-
-    @export_exp_range(100, 1000, 20) var l
+.. TODO: Document other hint strings usable with export_range.
 
 
 Floats with easing hint
 Floats with easing hint
 -----------------------
 -----------------------