diff options
author | psuhas77 <31076903+psuhas77@users.noreply.github.com> | 2019-03-02 19:57:19 +0530 |
---|---|---|
committer | 2017A7PS0002G <f20170002@goa.bits-pilani.ac.in> | 2019-03-03 01:26:54 +0530 |
commit | 52125af7a0a0ed90c2fb966c64d1a5120e7c0b78 (patch) | |
tree | 1c7a0546191402a4c40184ebee1de9ea53cffe59 /doc | |
parent | 90038a4eef6964b4993aa9b70418930f9ea232e4 (diff) |
mentioned possible use of property:component syntax
Referencing #26466 , added possible use of property:component syntax for functions like interpolate_property, follow_property,etc.. in the class description.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/Tween.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Tween.xml b/doc/classes/Tween.xml index c3af586b21..f5f50a75b1 100644 --- a/doc/classes/Tween.xml +++ b/doc/classes/Tween.xml @@ -13,7 +13,7 @@ Tween.TRANS_LINEAR, Tween.EASE_IN_OUT) tween.start() [/codeblock] - Many methods require a property name, such as "position" above. You can find the correct property name by hovering over the property in the Inspector. + Many methods require a property name, such as "position" 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 "property:component" (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 [code]http://easings.net/[/code] 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 [code]EASE_IN_OUT[/code], and use the one that looks best. </description> <tutorials> |