summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-06-24 08:29:50 +0200
committerGitHub <noreply@github.com>2020-06-24 08:29:50 +0200
commitddba410ce5fdfaf736c4c91650ec84ebb609bb8f (patch)
tree75e75582a7b3fccc722f9e6f2e2b516ed412b0f5
parent6ad814bf7b4668399bf9487d38e8924c6faeb4bf (diff)
parent5181daaf9e1974220bfbb569b1964f91a0b2485a (diff)
Merge pull request #39781 from Andy0903/tween-word-order-fix
Tween.xml word order fix
-rw-r--r--doc/classes/Tween.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Tween.xml b/doc/classes/Tween.xml
index 1938a3facb..56ccaaf383 100644
--- a/doc/classes/Tween.xml
+++ b/doc/classes/Tween.xml
@@ -15,7 +15,7 @@
tween.start()
[/codeblock]
Many methods require a property name, such as [code]"position"[/code] above. You can find the correct property name by hovering over the property in the Inspector. You can also provide the components of a property directly by using [code]"property:component"[/code] (eg. [code]position:x[/code]), where it would only apply to that particular component.
- Many of the methods accept [code]trans_type[/code] and [code]ease_type[/code]. The first accepts an [enum TransitionType] constant, and refers to the way the timing of the animation is handled (see [url=https://easings.net/]easings.net[/url] for some examples). The second accepts an [enum EaseType] constant, and controls the where [code]trans_type[/code] is applied to the interpolation (in the beginning, the end, or both). If you don't know which transition and easing to pick, you can try different [enum TransitionType] constants with [constant EASE_IN_OUT], and use the one that looks best.
+ Many of the methods accept [code]trans_type[/code] and [code]ease_type[/code]. The first accepts an [enum TransitionType] constant, and refers to the way the timing of the animation is handled (see [url=https://easings.net/]easings.net[/url] for some examples). The second accepts an [enum EaseType] constant, and controls where the [code]trans_type[/code] is applied to the interpolation (in the beginning, the end, or both). If you don't know which transition and easing to pick, you can try different [enum TransitionType] constants with [constant EASE_IN_OUT], and use the one that looks best.
[url=https://raw.githubusercontent.com/godotengine/godot-docs/master/img/tween_cheatsheet.png]Tween easing and transition types cheatsheet[/url]
</description>
<tutorials>