2017-09-12 20:42:36 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2021-03-23 12:40:34 +00:00
<class name= "Tween" inherits= "Node" version= "3.3" >
2017-09-12 20:42:36 +00:00
<brief_description >
2018-05-07 03:12:01 +00:00
Smoothly animates a node's properties over time.
2017-09-12 20:42:36 +00:00
</brief_description>
<description >
2019-06-21 23:04:47 +00:00
Tweens are useful for animations requiring a numerical property to be interpolated over a range of values. The name [i]tween[/i] comes from [i]in-betweening[/i], an animation technique where you specify [i]keyframes[/i] and the computer interpolates the frames that appear between them.
2020-01-31 16:56:03 +00:00
[Tween] is more suited than [AnimationPlayer] for animations where you don't know the final values in advance. For example, interpolating a dynamically-chosen camera zoom value is best done with a [Tween] node; it would be difficult to do the same thing with an [AnimationPlayer] node.
2020-04-17 21:08:01 +00:00
Here is a brief usage example that makes a 2D node move smoothly between two positions:
2017-09-12 20:42:36 +00:00
[codeblock]
var tween = get_node("Tween")
2018-05-07 03:12:01 +00:00
tween.interpolate_property($Node2D, "position",
2018-09-22 21:50:45 +00:00
Vector2(0, 0), Vector2(100, 100), 1,
Tween.TRANS_LINEAR, Tween.EASE_IN_OUT)
2017-09-12 20:42:36 +00:00
tween.start()
[/codeblock]
2021-03-18 11:04:28 +00:00
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] (e.g. [code]position:x[/code]), where it would only apply to that particular component.
2020-06-23 16:42:11 +00:00
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.
2020-05-01 16:43:55 +00:00
[url=https://raw.githubusercontent.com/godotengine/godot-docs/master/img/tween_cheatsheet.png]Tween easing and transition types cheatsheet[/url]
2017-09-12 20:42:36 +00:00
</description>
<tutorials >
</tutorials>
<methods >
<method name= "follow_method" >
<return type= "bool" >
</return>
<argument index= "0" name= "object" type= "Object" >
</argument>
<argument index= "1" name= "method" type= "String" >
</argument>
<argument index= "2" name= "initial_val" type= "Variant" >
</argument>
<argument index= "3" name= "target" type= "Object" >
</argument>
<argument index= "4" name= "target_method" type= "String" >
</argument>
<argument index= "5" name= "duration" type= "float" >
</argument>
2019-12-13 09:37:59 +00:00
<argument index= "6" name= "trans_type" type= "int" enum= "Tween.TransitionType" default= "0" >
2017-09-12 20:42:36 +00:00
</argument>
2019-12-13 09:37:59 +00:00
<argument index= "7" name= "ease_type" type= "int" enum= "Tween.EaseType" default= "2" >
2017-09-12 20:42:36 +00:00
</argument>
<argument index= "8" name= "delay" type= "float" default= "0" >
</argument>
<description >
2018-05-07 03:12:01 +00:00
Follows [code]method[/code] of [code]object[/code] and applies the returned value on [code]target_method[/code] of [code]target[/code], beginning from [code]initial_val[/code] for [code]duration[/code] seconds, [code]delay[/code] later. Methods are called with consecutive values.
2019-06-21 23:04:47 +00:00
Use [enum TransitionType] for [code]trans_type[/code] and [enum EaseType] for [code]ease_type[/code] parameters. These values control the timing and direction of the interpolation. See the class description for more information.
2017-09-12 20:42:36 +00:00
</description>
</method>
<method name= "follow_property" >
<return type= "bool" >
</return>
<argument index= "0" name= "object" type= "Object" >
</argument>
2017-11-24 08:16:27 +00:00
<argument index= "1" name= "property" type= "NodePath" >
2017-09-12 20:42:36 +00:00
</argument>
<argument index= "2" name= "initial_val" type= "Variant" >
</argument>
<argument index= "3" name= "target" type= "Object" >
</argument>
2017-11-24 08:16:27 +00:00
<argument index= "4" name= "target_property" type= "NodePath" >
2017-09-12 20:42:36 +00:00
</argument>
<argument index= "5" name= "duration" type= "float" >
</argument>
2019-12-13 09:37:59 +00:00
<argument index= "6" name= "trans_type" type= "int" enum= "Tween.TransitionType" default= "0" >
2017-09-12 20:42:36 +00:00
</argument>
2019-12-13 09:37:59 +00:00
<argument index= "7" name= "ease_type" type= "int" enum= "Tween.EaseType" default= "2" >
2017-09-12 20:42:36 +00:00
</argument>
<argument index= "8" name= "delay" type= "float" default= "0" >
</argument>
<description >
2018-05-07 03:12:01 +00:00
Follows [code]property[/code] of [code]object[/code] and applies it on [code]target_property[/code] of [code]target[/code], beginning from [code]initial_val[/code] for [code]duration[/code] seconds, [code]delay[/code] seconds later.
2019-06-21 23:04:47 +00:00
Use [enum TransitionType] for [code]trans_type[/code] and [enum EaseType] for [code]ease_type[/code] parameters. These values control the timing and direction of the interpolation. See the class description for more information.
2017-09-12 20:42:36 +00:00
</description>
</method>
<method name= "get_runtime" qualifiers= "const" >
<return type= "float" >
</return>
<description >
2018-05-07 03:12:01 +00:00
Returns the total time needed for all tweens to end. If you have two tweens, one lasting 10 seconds and the other 20 seconds, it would return 20 seconds, as by that time all tweens would have finished.
2017-09-12 20:42:36 +00:00
</description>
</method>
<method name= "interpolate_callback" >
<return type= "bool" >
</return>
<argument index= "0" name= "object" type= "Object" >
</argument>
<argument index= "1" name= "duration" type= "float" >
</argument>
<argument index= "2" name= "callback" type= "String" >
</argument>
<argument index= "3" name= "arg1" type= "Variant" default= "null" >
</argument>
<argument index= "4" name= "arg2" type= "Variant" default= "null" >
</argument>
<argument index= "5" name= "arg3" type= "Variant" default= "null" >
</argument>
<argument index= "6" name= "arg4" type= "Variant" default= "null" >
</argument>
<argument index= "7" name= "arg5" type= "Variant" default= "null" >
</argument>
<description >
2018-05-07 03:12:01 +00:00
Calls [code]callback[/code] of [code]object[/code] after [code]duration[/code]. [code]arg1[/code]-[code]arg5[/code] are arguments to be passed to the callback.
2017-09-12 20:42:36 +00:00
</description>
</method>
<method name= "interpolate_deferred_callback" >
<return type= "bool" >
</return>
<argument index= "0" name= "object" type= "Object" >
</argument>
<argument index= "1" name= "duration" type= "float" >
</argument>
<argument index= "2" name= "callback" type= "String" >
</argument>
<argument index= "3" name= "arg1" type= "Variant" default= "null" >
</argument>
<argument index= "4" name= "arg2" type= "Variant" default= "null" >
</argument>
<argument index= "5" name= "arg3" type= "Variant" default= "null" >
</argument>
<argument index= "6" name= "arg4" type= "Variant" default= "null" >
</argument>
<argument index= "7" name= "arg5" type= "Variant" default= "null" >
</argument>
<description >
2018-05-07 03:12:01 +00:00
Calls [code]callback[/code] of [code]object[/code] after [code]duration[/code] on the main thread (similar to [method Object.call_deferred]). [code]arg1[/code]-[code]arg5[/code] are arguments to be passed to the callback.
2017-09-12 20:42:36 +00:00
</description>
</method>
<method name= "interpolate_method" >
<return type= "bool" >
</return>
<argument index= "0" name= "object" type= "Object" >
</argument>
<argument index= "1" name= "method" type= "String" >
</argument>
<argument index= "2" name= "initial_val" type= "Variant" >
</argument>
<argument index= "3" name= "final_val" type= "Variant" >
</argument>
<argument index= "4" name= "duration" type= "float" >
</argument>
2019-12-13 09:37:59 +00:00
<argument index= "5" name= "trans_type" type= "int" enum= "Tween.TransitionType" default= "0" >
2017-09-12 20:42:36 +00:00
</argument>
2019-12-13 09:37:59 +00:00
<argument index= "6" name= "ease_type" type= "int" enum= "Tween.EaseType" default= "2" >
2017-09-12 20:42:36 +00:00
</argument>
<argument index= "7" name= "delay" type= "float" default= "0" >
</argument>
<description >
2018-05-07 03:12:01 +00:00
Animates [code]method[/code] of [code]object[/code] from [code]initial_val[/code] to [code]final_val[/code] for [code]duration[/code] seconds, [code]delay[/code] seconds later. Methods are called with consecutive values.
2019-06-21 23:04:47 +00:00
Use [enum TransitionType] for [code]trans_type[/code] and [enum EaseType] for [code]ease_type[/code] parameters. These values control the timing and direction of the interpolation. See the class description for more information.
2017-09-12 20:42:36 +00:00
</description>
</method>
<method name= "interpolate_property" >
<return type= "bool" >
</return>
<argument index= "0" name= "object" type= "Object" >
</argument>
2017-11-24 08:16:27 +00:00
<argument index= "1" name= "property" type= "NodePath" >
2017-09-12 20:42:36 +00:00
</argument>
<argument index= "2" name= "initial_val" type= "Variant" >
</argument>
<argument index= "3" name= "final_val" type= "Variant" >
</argument>
<argument index= "4" name= "duration" type= "float" >
</argument>
2019-12-13 09:37:59 +00:00
<argument index= "5" name= "trans_type" type= "int" enum= "Tween.TransitionType" default= "0" >
2017-09-12 20:42:36 +00:00
</argument>
2019-12-13 09:37:59 +00:00
<argument index= "6" name= "ease_type" type= "int" enum= "Tween.EaseType" default= "2" >
2017-09-12 20:42:36 +00:00
</argument>
<argument index= "7" name= "delay" type= "float" default= "0" >
</argument>
<description >
2018-08-11 13:42:44 +00:00
Animates [code]property[/code] of [code]object[/code] from [code]initial_val[/code] to [code]final_val[/code] for [code]duration[/code] seconds, [code]delay[/code] seconds later. Setting the initial value to [code]null[/code] uses the current value of the property.
2019-06-21 23:04:47 +00:00
Use [enum TransitionType] for [code]trans_type[/code] and [enum EaseType] for [code]ease_type[/code] parameters. These values control the timing and direction of the interpolation. See the class description for more information.
2017-09-12 20:42:36 +00:00
</description>
</method>
<method name= "is_active" qualifiers= "const" >
<return type= "bool" >
</return>
<description >
2019-06-21 23:04:47 +00:00
Returns [code]true[/code] if any tweens are currently running.
[b]Note:[/b] This method doesn't consider tweens that have ended.
2017-09-12 20:42:36 +00:00
</description>
</method>
<method name= "remove" >
<return type= "bool" >
</return>
<argument index= "0" name= "object" type= "Object" >
</argument>
<argument index= "1" name= "key" type= "String" default= """" >
</argument>
<description >
2018-05-07 03:12:01 +00:00
Stops animation and removes a tween, given its object and property/method pair. By default, all tweens are removed, unless [code]key[/code] is specified.
2017-09-12 20:42:36 +00:00
</description>
</method>
<method name= "remove_all" >
<return type= "bool" >
</return>
<description >
2018-05-07 03:12:01 +00:00
Stops animation and removes all tweens.
2017-09-12 20:42:36 +00:00
</description>
</method>
<method name= "reset" >
<return type= "bool" >
</return>
<argument index= "0" name= "object" type= "Object" >
</argument>
<argument index= "1" name= "key" type= "String" default= """" >
</argument>
<description >
2018-05-07 03:12:01 +00:00
Resets a tween to its initial value (the one given, not the one before the tween), given its object and property/method pair. By default, all tweens are removed, unless [code]key[/code] is specified.
2017-09-12 20:42:36 +00:00
</description>
</method>
<method name= "reset_all" >
<return type= "bool" >
</return>
<description >
Resets all tweens to their initial values (the ones given, not those before the tween).
</description>
</method>
<method name= "resume" >
<return type= "bool" >
</return>
<argument index= "0" name= "object" type= "Object" >
</argument>
<argument index= "1" name= "key" type= "String" default= """" >
</argument>
<description >
2018-05-07 03:12:01 +00:00
Continues animating a stopped tween, given its object and property/method pair. By default, all tweens are resumed, unless [code]key[/code] is specified.
2017-09-12 20:42:36 +00:00
</description>
</method>
<method name= "resume_all" >
<return type= "bool" >
</return>
<description >
2018-05-07 03:12:01 +00:00
Continues animating all stopped tweens.
2017-09-12 20:42:36 +00:00
</description>
</method>
<method name= "seek" >
<return type= "bool" >
</return>
<argument index= "0" name= "time" type= "float" >
</argument>
<description >
2018-05-07 03:12:01 +00:00
Sets the interpolation to the given [code]time[/code] in seconds.
2017-09-12 20:42:36 +00:00
</description>
</method>
<method name= "set_active" >
<return type= "void" >
</return>
<argument index= "0" name= "active" type= "bool" >
</argument>
<description >
2018-05-07 03:12:01 +00:00
Activates/deactivates the tween. See also [method stop_all] and [method resume_all].
2017-09-12 20:42:36 +00:00
</description>
</method>
<method name= "start" >
<return type= "bool" >
</return>
<description >
2018-05-07 03:12:01 +00:00
Starts the tween. You can define animations both before and after this.
2017-09-12 20:42:36 +00:00
</description>
</method>
<method name= "stop" >
<return type= "bool" >
</return>
<argument index= "0" name= "object" type= "Object" >
</argument>
<argument index= "1" name= "key" type= "String" default= """" >
</argument>
<description >
2018-05-07 03:12:01 +00:00
Stops a tween, given its object and property/method pair. By default, all tweens are stopped, unless [code]key[/code] is specified.
2017-09-12 20:42:36 +00:00
</description>
</method>
<method name= "stop_all" >
<return type= "bool" >
</return>
<description >
2018-05-07 03:12:01 +00:00
Stops animating all tweens.
2017-09-12 20:42:36 +00:00
</description>
</method>
<method name= "targeting_method" >
<return type= "bool" >
</return>
<argument index= "0" name= "object" type= "Object" >
</argument>
<argument index= "1" name= "method" type= "String" >
</argument>
<argument index= "2" name= "initial" type= "Object" >
</argument>
<argument index= "3" name= "initial_method" type= "String" >
</argument>
<argument index= "4" name= "final_val" type= "Variant" >
</argument>
<argument index= "5" name= "duration" type= "float" >
</argument>
2019-12-13 09:37:59 +00:00
<argument index= "6" name= "trans_type" type= "int" enum= "Tween.TransitionType" default= "0" >
2017-09-12 20:42:36 +00:00
</argument>
2019-12-13 09:37:59 +00:00
<argument index= "7" name= "ease_type" type= "int" enum= "Tween.EaseType" default= "2" >
2017-09-12 20:42:36 +00:00
</argument>
<argument index= "8" name= "delay" type= "float" default= "0" >
</argument>
<description >
2018-05-07 03:12:01 +00:00
Animates [code]method[/code] of [code]object[/code] from the value returned by [code]initial_method[/code] to [code]final_val[/code] for [code]duration[/code] seconds, [code]delay[/code] seconds later. Methods are animated by calling them with consecutive values.
2019-06-21 23:04:47 +00:00
Use [enum TransitionType] for [code]trans_type[/code] and [enum EaseType] for [code]ease_type[/code] parameters. These values control the timing and direction of the interpolation. See the class description for more information.
2017-09-12 20:42:36 +00:00
</description>
</method>
<method name= "targeting_property" >
<return type= "bool" >
</return>
<argument index= "0" name= "object" type= "Object" >
</argument>
2017-11-24 08:16:27 +00:00
<argument index= "1" name= "property" type= "NodePath" >
2017-09-12 20:42:36 +00:00
</argument>
<argument index= "2" name= "initial" type= "Object" >
</argument>
2017-11-24 08:16:27 +00:00
<argument index= "3" name= "initial_val" type= "NodePath" >
2017-09-12 20:42:36 +00:00
</argument>
<argument index= "4" name= "final_val" type= "Variant" >
</argument>
<argument index= "5" name= "duration" type= "float" >
</argument>
2019-12-13 09:37:59 +00:00
<argument index= "6" name= "trans_type" type= "int" enum= "Tween.TransitionType" default= "0" >
2017-09-12 20:42:36 +00:00
</argument>
2019-12-13 09:37:59 +00:00
<argument index= "7" name= "ease_type" type= "int" enum= "Tween.EaseType" default= "2" >
2017-09-12 20:42:36 +00:00
</argument>
<argument index= "8" name= "delay" type= "float" default= "0" >
</argument>
<description >
2018-05-07 03:12:01 +00:00
Animates [code]property[/code] of [code]object[/code] from the current value of the [code]initial_val[/code] property of [code]initial[/code] to [code]final_val[/code] for [code]duration[/code] seconds, [code]delay[/code] seconds later.
2019-06-21 23:04:47 +00:00
Use [enum TransitionType] for [code]trans_type[/code] and [enum EaseType] for [code]ease_type[/code] parameters. These values control the timing and direction of the interpolation. See the class description for more information.
2017-09-12 20:42:36 +00:00
</description>
</method>
<method name= "tell" qualifiers= "const" >
<return type= "float" >
</return>
<description >
Returns the current time of the tween.
</description>
</method>
</methods>
<members >
2019-06-29 10:38:01 +00:00
<member name= "playback_process_mode" type= "int" setter= "set_tween_process_mode" getter= "get_tween_process_mode" enum= "Tween.TweenProcessMode" default= "1" >
2019-06-29 13:24:23 +00:00
The tween's animation process thread. See [enum TweenProcessMode].
2017-09-12 20:42:36 +00:00
</member>
2019-06-29 10:38:01 +00:00
<member name= "playback_speed" type= "float" setter= "set_speed_scale" getter= "get_speed_scale" default= "1.0" >
2018-05-07 03:12:01 +00:00
The tween's speed multiplier. For example, set it to [code]1.0[/code] for normal speed, [code]2.0[/code] for two times normal speed, or [code]0.5[/code] for half of the normal speed. A value of [code]0[/code] pauses the animation, but see also [method set_active] or [method stop_all] for this.
2018-01-11 22:38:35 +00:00
</member>
2019-06-29 10:38:01 +00:00
<member name= "repeat" type= "bool" setter= "set_repeat" getter= "is_repeat" default= "false" >
2018-12-20 12:46:54 +00:00
If [code]true[/code], the tween loops.
2018-01-11 22:38:35 +00:00
</member>
2017-09-12 20:42:36 +00:00
</members>
<signals >
2019-03-19 12:58:37 +00:00
<signal name= "tween_all_completed" >
<description >
Emitted when all processes in a tween end.
</description>
</signal>
2017-09-12 20:42:36 +00:00
<signal name= "tween_completed" >
<argument index= "0" name= "object" type= "Object" >
</argument>
2018-01-24 20:58:39 +00:00
<argument index= "1" name= "key" type= "NodePath" >
2017-09-12 20:42:36 +00:00
</argument>
<description >
2018-05-07 03:12:01 +00:00
Emitted when a tween ends.
2017-09-12 20:42:36 +00:00
</description>
</signal>
<signal name= "tween_started" >
<argument index= "0" name= "object" type= "Object" >
</argument>
2018-01-24 20:58:39 +00:00
<argument index= "1" name= "key" type= "NodePath" >
2017-09-12 20:42:36 +00:00
</argument>
<description >
2018-05-07 03:12:01 +00:00
Emitted when a tween starts.
2017-09-12 20:42:36 +00:00
</description>
</signal>
<signal name= "tween_step" >
<argument index= "0" name= "object" type= "Object" >
</argument>
2018-01-24 20:58:39 +00:00
<argument index= "1" name= "key" type= "NodePath" >
2017-09-12 20:42:36 +00:00
</argument>
<argument index= "2" name= "elapsed" type= "float" >
</argument>
<argument index= "3" name= "value" type= "Object" >
</argument>
<description >
2018-05-07 03:12:01 +00:00
Emitted at each step of the animation.
2017-09-12 20:42:36 +00:00
</description>
</signal>
</signals>
<constants >
2017-11-24 22:16:30 +00:00
<constant name= "TWEEN_PROCESS_PHYSICS" value= "0" enum= "TweenProcessMode" >
2018-05-07 03:12:01 +00:00
The tween updates with the [code]_physics_process[/code] callback.
2017-09-12 20:42:36 +00:00
</constant>
2017-11-24 22:16:30 +00:00
<constant name= "TWEEN_PROCESS_IDLE" value= "1" enum= "TweenProcessMode" >
2018-05-07 03:12:01 +00:00
The tween updates with the [code]_process[/code] callback.
2017-09-12 20:42:36 +00:00
</constant>
2017-11-24 22:16:30 +00:00
<constant name= "TRANS_LINEAR" value= "0" enum= "TransitionType" >
2018-05-07 03:12:01 +00:00
The animation is interpolated linearly.
2017-09-12 20:42:36 +00:00
</constant>
2017-11-24 22:16:30 +00:00
<constant name= "TRANS_SINE" value= "1" enum= "TransitionType" >
2018-05-07 03:12:01 +00:00
The animation is interpolated using a sine function.
2017-09-12 20:42:36 +00:00
</constant>
2017-11-24 22:16:30 +00:00
<constant name= "TRANS_QUINT" value= "2" enum= "TransitionType" >
2018-05-07 03:12:01 +00:00
The animation is interpolated with a quintic (to the power of 5) function.
2017-09-12 20:42:36 +00:00
</constant>
2017-11-24 22:16:30 +00:00
<constant name= "TRANS_QUART" value= "3" enum= "TransitionType" >
2018-05-07 03:12:01 +00:00
The animation is interpolated with a quartic (to the power of 4) function.
2017-09-12 20:42:36 +00:00
</constant>
2017-11-24 22:16:30 +00:00
<constant name= "TRANS_QUAD" value= "4" enum= "TransitionType" >
2018-05-07 03:12:01 +00:00
The animation is interpolated with a quadratic (to the power of 2) function.
2017-09-12 20:42:36 +00:00
</constant>
2017-11-24 22:16:30 +00:00
<constant name= "TRANS_EXPO" value= "5" enum= "TransitionType" >
2018-05-07 03:12:01 +00:00
The animation is interpolated with an exponential (to the power of x) function.
2017-09-12 20:42:36 +00:00
</constant>
2017-11-24 22:16:30 +00:00
<constant name= "TRANS_ELASTIC" value= "6" enum= "TransitionType" >
2018-05-07 03:12:01 +00:00
The animation is interpolated with elasticity, wiggling around the edges.
2017-09-12 20:42:36 +00:00
</constant>
2017-11-24 22:16:30 +00:00
<constant name= "TRANS_CUBIC" value= "7" enum= "TransitionType" >
2018-05-07 03:12:01 +00:00
The animation is interpolated with a cubic (to the power of 3) function.
2017-09-12 20:42:36 +00:00
</constant>
2017-11-24 22:16:30 +00:00
<constant name= "TRANS_CIRC" value= "8" enum= "TransitionType" >
2018-05-07 03:12:01 +00:00
The animation is interpolated with a function using square roots.
2017-09-12 20:42:36 +00:00
</constant>
2017-11-24 22:16:30 +00:00
<constant name= "TRANS_BOUNCE" value= "9" enum= "TransitionType" >
2018-05-07 03:12:01 +00:00
The animation is interpolated by bouncing at the end.
2017-09-12 20:42:36 +00:00
</constant>
2017-11-24 22:16:30 +00:00
<constant name= "TRANS_BACK" value= "10" enum= "TransitionType" >
2018-05-07 03:12:01 +00:00
The animation is interpolated backing out at ends.
2017-09-12 20:42:36 +00:00
</constant>
2017-11-24 22:16:30 +00:00
<constant name= "EASE_IN" value= "0" enum= "EaseType" >
2018-05-07 03:12:01 +00:00
The interpolation starts slowly and speeds up towards the end.
2017-09-12 20:42:36 +00:00
</constant>
2017-11-24 22:16:30 +00:00
<constant name= "EASE_OUT" value= "1" enum= "EaseType" >
2018-05-07 03:12:01 +00:00
The interpolation starts quickly and slows down towards the end.
2017-09-12 20:42:36 +00:00
</constant>
2017-11-24 22:16:30 +00:00
<constant name= "EASE_IN_OUT" value= "2" enum= "EaseType" >
2019-12-06 22:09:20 +00:00
A combination of [constant EASE_IN] and [constant EASE_OUT]. The interpolation is slowest at both ends.
2017-09-12 20:42:36 +00:00
</constant>
2017-11-24 22:16:30 +00:00
<constant name= "EASE_OUT_IN" value= "3" enum= "EaseType" >
2019-12-06 22:09:20 +00:00
A combination of [constant EASE_IN] and [constant EASE_OUT]. The interpolation is fastest at both ends.
2017-09-12 20:42:36 +00:00
</constant>
</constants>
</class>