浏览代码

Document default values for transition type and ease type.

Stephen Rice 2 年之前
父节点
当前提交
c4de2d433a
共有 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">