瀏覽代碼

Updated upgrading_to_godot_4 documentation.

- Added xform and xform_inv's change to use * operator.
- Provided better details on the changes.
Ayan Chavand 1 年之前
父節點
當前提交
e47792d353
共有 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**