Răsfoiți Sursa

document force_update_transform

Jummit 6 ani în urmă
părinte
comite
2166437869
2 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 1 0
      doc/classes/CanvasItem.xml
  2. 1 0
      doc/classes/Spatial.xml

+ 1 - 0
doc/classes/CanvasItem.xml

@@ -341,6 +341,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">