Преглед изворни кода

Merge pull request #33229 from Jummit/document-force_update_transform

Document force_update_transform
Rémi Verschelde пре 6 година
родитељ
комит
d93201b27f
2 измењених фајлова са 2 додато и 0 уклоњено
  1. 1 0
      doc/classes/CanvasItem.xml
  2. 1 0
      doc/classes/Spatial.xml

+ 1 - 0
doc/classes/CanvasItem.xml

@@ -363,6 +363,7 @@
 			<return type="void">
 			</return>
 			<description>
+				Forces the transform to update. Transform changes in physics are not instant for performance reasons. Transforms are accumulated and then set. Use this if you need an up-to-date transform when doing physics operations.
 			</description>
 		</method>
 		<method name="get_canvas" qualifiers="const">

+ 1 - 0
doc/classes/Spatial.xml

@@ -15,6 +15,7 @@
 			<return type="void">
 			</return>
 			<description>
+				Forces the transform to update. Transform changes in physics are not instant for performance reasons. Transforms are accumulated and then set. Use this if you need an up-to-date transform when doing physics operations.
 			</description>
 		</method>
 		<method name="get_parent_spatial" qualifiers="const">