123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
- .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
- .. _class_Matrix32:
- Matrix32
- ========
- **Category:** Built-In Types
- Brief Description
- -----------------
- 3x2 Matrix for 2D transforms.
- Member Functions
- ----------------
- +----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Matrix32<class_matrix32>` | :ref:`Matrix32<class_Matrix32_Matrix32>` **(** :ref:`Transform<class_transform>` from **)** |
- +----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Matrix32<class_matrix32>` | :ref:`Matrix32<class_Matrix32_Matrix32>` **(** :ref:`Vector2<class_vector2>` x_axis, :ref:`Vector2<class_vector2>` y_axis, :ref:`Vector2<class_vector2>` origin **)** |
- +----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Matrix32<class_matrix32>` | :ref:`Matrix32<class_Matrix32_Matrix32>` **(** :ref:`float<class_float>` rot, :ref:`Vector2<class_vector2>` pos **)** |
- +----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Matrix32<class_matrix32>` | :ref:`affine_inverse<class_Matrix32_affine_inverse>` **(** **)** |
- +----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Matrix32<class_matrix32>` | :ref:`basis_xform<class_Matrix32_basis_xform>` **(** var v **)** |
- +----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Matrix32<class_matrix32>` | :ref:`basis_xform_inv<class_Matrix32_basis_xform_inv>` **(** var v **)** |
- +----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Vector2<class_vector2>` | :ref:`get_origin<class_Matrix32_get_origin>` **(** **)** |
- +----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`float<class_float>` | :ref:`get_rotation<class_Matrix32_get_rotation>` **(** **)** |
- +----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Vector2<class_vector2>` | :ref:`get_scale<class_Matrix32_get_scale>` **(** **)** |
- +----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Matrix32<class_matrix32>` | :ref:`interpolate_with<class_Matrix32_interpolate_with>` **(** :ref:`Matrix32<class_matrix32>` m, :ref:`float<class_float>` c **)** |
- +----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Matrix32<class_matrix32>` | :ref:`inverse<class_Matrix32_inverse>` **(** **)** |
- +----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Matrix32<class_matrix32>` | :ref:`orthonormalized<class_Matrix32_orthonormalized>` **(** **)** |
- +----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Matrix32<class_matrix32>` | :ref:`rotated<class_Matrix32_rotated>` **(** :ref:`float<class_float>` phi **)** |
- +----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Matrix32<class_matrix32>` | :ref:`scaled<class_Matrix32_scaled>` **(** :ref:`Vector2<class_vector2>` scale **)** |
- +----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Matrix32<class_matrix32>` | :ref:`translated<class_Matrix32_translated>` **(** :ref:`Vector2<class_vector2>` offset **)** |
- +----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Matrix32<class_matrix32>` | :ref:`xform<class_Matrix32_xform>` **(** var v **)** |
- +----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | :ref:`Matrix32<class_matrix32>` | :ref:`xform_inv<class_Matrix32_xform_inv>` **(** var v **)** |
- +----------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- Member Variables
- ----------------
- - :ref:`Vector2<class_vector2>` **o**
- - :ref:`Vector2<class_vector2>` **x**
- - :ref:`Vector2<class_vector2>` **y**
- Description
- -----------
- 3x2 Matrix for 2D transforms.
- Member Function Description
- ---------------------------
- .. _class_Matrix32_Matrix32:
- - :ref:`Matrix32<class_matrix32>` **Matrix32** **(** :ref:`Transform<class_transform>` from **)**
- .. _class_Matrix32_Matrix32:
- - :ref:`Matrix32<class_matrix32>` **Matrix32** **(** :ref:`Vector2<class_vector2>` x_axis, :ref:`Vector2<class_vector2>` y_axis, :ref:`Vector2<class_vector2>` origin **)**
- .. _class_Matrix32_Matrix32:
- - :ref:`Matrix32<class_matrix32>` **Matrix32** **(** :ref:`float<class_float>` rot, :ref:`Vector2<class_vector2>` pos **)**
- .. _class_Matrix32_affine_inverse:
- - :ref:`Matrix32<class_matrix32>` **affine_inverse** **(** **)**
- .. _class_Matrix32_basis_xform:
- - :ref:`Matrix32<class_matrix32>` **basis_xform** **(** var v **)**
- .. _class_Matrix32_basis_xform_inv:
- - :ref:`Matrix32<class_matrix32>` **basis_xform_inv** **(** var v **)**
- .. _class_Matrix32_get_origin:
- - :ref:`Vector2<class_vector2>` **get_origin** **(** **)**
- .. _class_Matrix32_get_rotation:
- - :ref:`float<class_float>` **get_rotation** **(** **)**
- .. _class_Matrix32_get_scale:
- - :ref:`Vector2<class_vector2>` **get_scale** **(** **)**
- .. _class_Matrix32_interpolate_with:
- - :ref:`Matrix32<class_matrix32>` **interpolate_with** **(** :ref:`Matrix32<class_matrix32>` m, :ref:`float<class_float>` c **)**
- .. _class_Matrix32_inverse:
- - :ref:`Matrix32<class_matrix32>` **inverse** **(** **)**
- .. _class_Matrix32_orthonormalized:
- - :ref:`Matrix32<class_matrix32>` **orthonormalized** **(** **)**
- .. _class_Matrix32_rotated:
- - :ref:`Matrix32<class_matrix32>` **rotated** **(** :ref:`float<class_float>` phi **)**
- .. _class_Matrix32_scaled:
- - :ref:`Matrix32<class_matrix32>` **scaled** **(** :ref:`Vector2<class_vector2>` scale **)**
- .. _class_Matrix32_translated:
- - :ref:`Matrix32<class_matrix32>` **translated** **(** :ref:`Vector2<class_vector2>` offset **)**
- .. _class_Matrix32_xform:
- - :ref:`Matrix32<class_matrix32>` **xform** **(** var v **)**
- .. _class_Matrix32_xform_inv:
- - :ref:`Matrix32<class_matrix32>` **xform_inv** **(** var v **)**
|