summaryrefslogtreecommitdiff
path: root/doc/classes/MethodTweener.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/MethodTweener.xml')
-rw-r--r--doc/classes/MethodTweener.xml20
1 files changed, 7 insertions, 13 deletions
diff --git a/doc/classes/MethodTweener.xml b/doc/classes/MethodTweener.xml
index 42b91abf93..1b93b20d9f 100644
--- a/doc/classes/MethodTweener.xml
+++ b/doc/classes/MethodTweener.xml
@@ -4,35 +4,29 @@
Interpolates an abstract value and supplies it to a method called over time.
</brief_description>
<description>
- [MethodTweener] is similar to a combination of [CallbackTweener] and [PropertyTweener]. It calls a method providing an interpolated value as a paramater. See [method Tween.tween_method] for more usage information.
+ [MethodTweener] is similar to a combination of [CallbackTweener] and [PropertyTweener]. It calls a method providing an interpolated value as a parameter. See [method Tween.tween_method] for more usage information.
[b]Note:[/b] [method Tween.tween_method] is the only correct way to create [MethodTweener]. Any [MethodTweener] created manually will not function correctly.
</description>
<tutorials>
</tutorials>
<methods>
<method name="set_delay">
- <return type="MethodTweener">
- </return>
- <argument index="0" name="delay" type="float">
- </argument>
+ <return type="MethodTweener" />
+ <argument index="0" name="delay" type="float" />
<description>
Sets the time in seconds after which the [MethodTweener] will start interpolating. By default there's no delay.
</description>
</method>
<method name="set_ease">
- <return type="MethodTweener">
- </return>
- <argument index="0" name="ease" type="int" enum="Tween.EaseType">
- </argument>
+ <return type="MethodTweener" />
+ <argument index="0" name="ease" type="int" enum="Tween.EaseType" />
<description>
Sets the type of used easing from [enum Tween.EaseType]. If not set, the default easing is used from the [Tween] that contains this Tweener.
</description>
</method>
<method name="set_trans">
- <return type="MethodTweener">
- </return>
- <argument index="0" name="trans" type="int" enum="Tween.TransitionType">
- </argument>
+ <return type="MethodTweener" />
+ <argument index="0" name="trans" type="int" enum="Tween.TransitionType" />
<description>
Sets the type of used transition from [enum Tween.TransitionType]. If not set, the default transition is used from the [Tween] that contains this Tweener.
</description>