|
@@ -276,7 +276,7 @@
|
|
- 1.0: Linear
|
|
- 1.0: Linear
|
|
- Greater than 1.0 (exclusive): Ease in
|
|
- Greater than 1.0 (exclusive): Ease in
|
|
[/codeblock]
|
|
[/codeblock]
|
|
- [url=https://raw.githubusercontent.com/godotengine/godot-docs/3.5/img/ease_cheatsheet.png]ease() curve values cheatsheet[/url]
|
|
|
|
|
|
+ [url=https://raw.githubusercontent.com/godotengine/godot-docs/3.6/img/ease_cheatsheet.png]ease() curve values cheatsheet[/url]
|
|
See also [method smoothstep]. If you need to perform more advanced transitions, use [Tween] or [AnimationPlayer].
|
|
See also [method smoothstep]. If you need to perform more advanced transitions, use [Tween] or [AnimationPlayer].
|
|
</description>
|
|
</description>
|
|
</method>
|
|
</method>
|
|
@@ -974,7 +974,7 @@
|
|
smoothstep(0, 2, 2.0) # Returns 1.0
|
|
smoothstep(0, 2, 2.0) # Returns 1.0
|
|
[/codeblock]
|
|
[/codeblock]
|
|
Compared to [method ease] with a curve value of [code]-1.6521[/code], [method smoothstep] returns the smoothest possible curve with no sudden changes in the derivative. If you need to perform more advanced transitions, use [Tween] or [AnimationPlayer].
|
|
Compared to [method ease] with a curve value of [code]-1.6521[/code], [method smoothstep] returns the smoothest possible curve with no sudden changes in the derivative. If you need to perform more advanced transitions, use [Tween] or [AnimationPlayer].
|
|
- [url=https://raw.githubusercontent.com/godotengine/godot-docs/3.5/img/smoothstep_ease_comparison.png]Comparison between smoothstep() and ease(x, -1.6521) return values[/url]
|
|
|
|
|
|
+ [url=https://raw.githubusercontent.com/godotengine/godot-docs/3.6/img/smoothstep_ease_comparison.png]Comparison between smoothstep() and ease(x, -1.6521) return values[/url]
|
|
</description>
|
|
</description>
|
|
</method>
|
|
</method>
|
|
<method name="sqrt">
|
|
<method name="sqrt">
|