2
0
Эх сурвалжийг харах

Merge pull request #74024 from sarice8/update-tween-doc

Document default values for transition type and ease type.
Rémi Verschelde 2 жил өмнө
parent
commit
417ed3da29
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      doc/classes/Tween.xml

+ 2 - 0
doc/classes/Tween.xml

@@ -214,6 +214,7 @@
 			<param index="0" name="ease" type="int" enum="Tween.EaseType" />
 			<description>
 				Sets the default ease type for [PropertyTweener]s and [MethodTweener]s animated by this [Tween].
+				If not specified, the default value is [constant EASE_IN_OUT].
 			</description>
 		</method>
 		<method name="set_loops">
@@ -260,6 +261,7 @@
 			<param index="0" name="trans" type="int" enum="Tween.TransitionType" />
 			<description>
 				Sets the default transition type for [PropertyTweener]s and [MethodTweener]s animated by this [Tween].
+				If not specified, the default value is [constant TRANS_LINEAR].
 			</description>
 		</method>
 		<method name="stop">