classref: Sync with current master branch (6543495)

This commit is contained in:
Godot Organization
2023-10-21 03:18:46 +00:00
parent 7f2d1f3b0a
commit 33048e0960
21 changed files with 129 additions and 82 deletions

View File

@@ -456,7 +456,11 @@ Returns ``true`` if contents of the arrays differ.
:ref:`PackedVector3Array<class_PackedVector3Array>` **operator *** **(** :ref:`Transform3D<class_Transform3D>` right **)**
Transforms (multiplies) all vectors in the array by the :ref:`Transform3D<class_Transform3D>` matrix.
Returns a new **PackedVector3Array** with all vectors in this array inversely transformed (multiplied) by the given :ref:`Transform3D<class_Transform3D>` transformation matrix, under the assumption that the transformation basis is orthonormal (i.e. rotation/reflection is fine, scaling/skew is not).
\ ``array * transform`` is equivalent to ``transform.inverse() * array``. See :ref:`Transform3D.inverse<class_Transform3D_method_inverse>`.
For transforming by inverse of an affine transformation (e.g. with scaling) ``transform.affine_inverse() * array`` can be used instead. See :ref:`Transform3D.affine_inverse<class_Transform3D_method_affine_inverse>`.
.. rst-class:: classref-item-separator