diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-01-13 19:40:18 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2017-01-13 19:40:18 +0100 |
commit | f392b340ffa832f5395e01ff5d96ae553d0983d6 (patch) | |
tree | 3dc26858301493a8c2d68874679a9d7463999b13 /doc | |
parent | d2aae675e92cbe99706564e2cffbc34ed7cea639 (diff) |
Tween: Rename times_in_sec (sic) param to duration
Diffstat (limited to 'doc')
-rw-r--r-- | doc/base/classes.xml | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 0c4597ccf8..368cd1bcba 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -44205,7 +44205,7 @@ </argument> <argument index="4" name="target_method" type="String"> </argument> - <argument index="5" name="times_in_sec" type="float"> + <argument index="5" name="duration" type="float"> </argument> <argument index="6" name="trans_type" type="int"> </argument> @@ -44214,7 +44214,7 @@ <argument index="8" name="delay" type="float" default="0"> </argument> <description> - Follow [code]method[/code] of [code]object[/code] and apply the returned value on [code]target_method[/code] of [code]target[/code], beginning from [code]initial_val[/code] for [code]times_in_sec[/code] seconds, [code]delay[/code] later. Methods are animated by calling them with consequitive values. + Follow [code]method[/code] of [code]object[/code] and apply 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 animated by calling them with consequitive values. [code]trans_type[/code] accepts TRANS_* constants, and is the way the animation is interpolated, while [code]ease_type[/code] accepts EASE_* constants, and controls the place of the interpolation (the begining, the end, or both). You can read more about them in the class description. </description> </method> @@ -44231,7 +44231,7 @@ </argument> <argument index="4" name="target_property" type="String"> </argument> - <argument index="5" name="times_in_sec" type="float"> + <argument index="5" name="duration" type="float"> </argument> <argument index="6" name="trans_type" type="int"> </argument> @@ -44240,7 +44240,7 @@ <argument index="8" name="delay" type="float" default="0"> </argument> <description> - Follow [code]property[/code] of [code]object[/code] and apply it on [code]target_property[/code] of [code]target[/code], beginning from [code]initial_val[/code] for [code]times_in_sec[/code] seconds, [code]delay[/code] seconds later. Note that [code]target:target_property[/code] would equal [code]object:property[/code] at the end of the tween. + Follow [code]property[/code] of [code]object[/code] and apply 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. Note that [code]target:target_property[/code] would equal [code]object:property[/code] at the end of the tween. [code]trans_type[/code] accepts TRANS_* constants, and is the way the animation is interpolated, while [code]ease_type[/code] accepts EASE_* constants, and controls the place of the interpolation (the begining, the end, or both). You can read more about them in the class description. </description> </method> @@ -44270,7 +44270,7 @@ </return> <argument index="0" name="object" type="Object"> </argument> - <argument index="1" name="times_in_sec" type="float"> + <argument index="1" name="duration" type="float"> </argument> <argument index="2" name="callback" type="String"> </argument> @@ -44285,7 +44285,7 @@ <argument index="7" name="arg5" type="Variant" default="NULL"> </argument> <description> - Call [code]callback[/code] of [code]object[/code] after [code]times_in_sec[/code]. [code]arg1[/code]-[code]arg5[/code] are arguments to be passed to the callback. + Call [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. </description> </method> <method name="interpolate_deferred_callback"> @@ -44293,7 +44293,7 @@ </return> <argument index="0" name="object" type="Object"> </argument> - <argument index="1" name="times_in_sec" type="float"> + <argument index="1" name="duration" type="float"> </argument> <argument index="2" name="callback" type="String"> </argument> @@ -44308,7 +44308,7 @@ <argument index="7" name="arg5" type="Variant" default="NULL"> </argument> <description> - Call [code]callback[/code] of [code]object[/code] after [code]times_in_sec[/code] on the main thread (similar to [methog Object.call_deferred). [code]arg1[/code]-[code]arg5[/code] are arguments to be passed to the callback. + Call [code]callback[/code] of [code]object[/code] after [code]duration[/code] on the main thread (similar to [methog Object.call_deferred). [code]arg1[/code]-[code]arg5[/code] are arguments to be passed to the callback. </description> </method> <method name="interpolate_method"> @@ -44322,7 +44322,7 @@ </argument> <argument index="3" name="final_val" type="Variant"> </argument> - <argument index="4" name="times_in_sec" type="float"> + <argument index="4" name="duration" type="float"> </argument> <argument index="5" name="trans_type" type="int"> </argument> @@ -44331,7 +44331,7 @@ <argument index="7" name="delay" type="float" default="0"> </argument> <description> - Animate [code]method[/code] of [code]object[/code] from [code]initial_val[/code] to [code]final_val[/code] for [code]times_in_sec[/code] seconds, [code]delay[/code] seconds later. Methods are animated by calling them with consecuitive values. + Animate [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 animated by calling them with consecuitive values. [code]trans_type[/code] accepts TRANS_* constants, and is the way the animation is interpolated, while [code]ease_type[/code] accepts EASE_* constants, and controls the place of the interpolation (the begining, the end, or both). You can read more about them in the class description. </description> </method> @@ -44346,7 +44346,7 @@ </argument> <argument index="3" name="final_val" type="Variant"> </argument> - <argument index="4" name="times_in_sec" type="float"> + <argument index="4" name="duration" type="float"> </argument> <argument index="5" name="trans_type" type="int"> </argument> @@ -44355,7 +44355,7 @@ <argument index="7" name="delay" type="float" default="0"> </argument> <description> - Animate [code]property[/code] of [code]object[/code] from [code]initial_val[/code] to [code]final_val[/code] for [code]times_in_sec[/code] seconds, [code]delay[/code] seconds later. + Animate [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. [code]trans_type[/code] accepts TRANS_* constants, and is the way the animation is interpolated, while [code]ease_type[/code] accepts EASE_* constants, and controls the place of the interpolation (the begining, the end, or both). You can read more about them in the class description. </description> </method> @@ -44502,7 +44502,7 @@ </argument> <argument index="4" name="final_val" type="Variant"> </argument> - <argument index="5" name="times_in_sec" type="float"> + <argument index="5" name="duration" type="float"> </argument> <argument index="6" name="trans_type" type="int"> </argument> @@ -44511,7 +44511,7 @@ <argument index="8" name="delay" type="float" default="0"> </argument> <description> - Animate [code]method[/code] of [code]object[/code] from the value returned by [code]initial.initial_method[/code] to [code]final_val[/code] for [code]times_in_sec[/code] seconds, [code]delay[/code] seconds later. Methods are animated by calling them with consecuitive values. + Animate [code]method[/code] of [code]object[/code] from the value returned by [code]initial.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 consecuitive values. [code]trans_type[/code] accepts TRANS_* constants, and is the way the animation is interpolated, while [code]ease_type[/code] accepts EASE_* constants, and controls the place of the interpolation (the begining, the end, or both). You can read more about them in the class description. </description> </method> @@ -44528,7 +44528,7 @@ </argument> <argument index="4" name="final_val" type="Variant"> </argument> - <argument index="5" name="times_in_sec" type="float"> + <argument index="5" name="duration" type="float"> </argument> <argument index="6" name="trans_type" type="int"> </argument> @@ -44537,7 +44537,7 @@ <argument index="8" name="delay" type="float" default="0"> </argument> <description> - Animate [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]times_in_sec[/code] seconds, [code]delay[/code] seconds later. + Animate [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. [code]trans_type[/code] accepts TRANS_* constants, and is the way the animation is interpolated, while [code]ease_type[/code] accepts EASE_* constants, and controls the place of the interpolation (the begining, the end, or both). You can read more about them in the class description. </description> </method> |