2020-09-05 03:05:30 +02:00
<?xml version="1.0" encoding="UTF-8" ?>
2022-02-14 14:18:53 +01:00
<class name= "MethodTweener" inherits= "Tweener" version= "4.0" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2020-09-05 03:05:30 +02:00
<brief_description >
Interpolates an abstract value and supplies it to a method called over time.
</brief_description>
<description >
Fix various typos with codespell
Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,fave,findn,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint`
2021-07-07 17:17:32 +02:00
[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.
2020-09-05 03:05:30 +02:00
[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" >
2021-07-30 15:28:05 +02:00
<return type= "MethodTweener" />
2022-08-06 20:11:48 +02:00
<param index= "0" name= "delay" type= "float" />
2020-09-05 03:05:30 +02:00
<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" >
2021-07-30 15:28:05 +02:00
<return type= "MethodTweener" />
2022-08-06 20:11:48 +02:00
<param index= "0" name= "ease" type= "int" enum= "Tween.EaseType" />
2020-09-05 03:05:30 +02:00
<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" >
2021-07-30 15:28:05 +02:00
<return type= "MethodTweener" />
2022-08-06 20:11:48 +02:00
<param index= "0" name= "trans" type= "int" enum= "Tween.TransitionType" />
2020-09-05 03:05:30 +02:00
<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>
</method>
</methods>
</class>