Changes for doc/classes/@GDScript.xml: 18 added lines, 0 removed lines.
Original line number
Diff line number
Diff line
@@ -973,6 +973,24 @@
[/codeblock]
</description>
</method>
<methodname="smoothstep">
<returntype="float">
</return>
<argumentindex="0"name="from"type="float">
</argument>
<argumentindex="1"name="to"type="float">
</argument>
<argumentindex="2"name="weight"type="float">
</argument>
<description>
Returns a number smoothly interpolated between the [code]from[/code] and [code]to[/code], based on the [code]weight[/code]. Similar to [method lerp], but interpolates faster at the beginning and slower at the end.