瀏覽代碼

Merge pull request #9566 from ayanchavand/migration-doc-update

Added xform() and xform_inv() function's changes in 4.0 migration docs
Max Hilbrunner 1 年之前
父節點
當前提交
f1c9d28011
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tutorials/migrating/upgrading_to_godot_4.rst

+ 1 - 0
tutorials/migrating/upgrading_to_godot_4.rst

@@ -437,6 +437,7 @@ table to find its new name.
 - Shortcut's ``is_valid()`` is now ``has_valid_event()``.
 - TileMap's ``world_to_map()`` is now ``local_to_map()``.
 - TileMap's ``map_to_world()`` is now ``map_to_local()``.
+- Transform2D's ``xform()`` is ``mat * vec`` and ``xform_inv()`` is ``vec * mat``.
 
 **Properties**