class_quadmesh.rst 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the QuadMesh.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_QuadMesh:
  5. QuadMesh
  6. ========
  7. **Inherits:** :ref:`PrimitiveMesh<class_PrimitiveMesh>` **<** :ref:`Mesh<class_Mesh>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. Class representing a square mesh.
  12. Properties
  13. ----------
  14. +-------------------------------+-------------------------------------------+
  15. | :ref:`Vector2<class_Vector2>` | :ref:`size<class_QuadMesh_property_size>` |
  16. +-------------------------------+-------------------------------------------+
  17. Description
  18. -----------
  19. Class representing a square :ref:`PrimitiveMesh<class_PrimitiveMesh>`. This flat mesh does not have a thickness. By default, this mesh is aligned on the X and Y axes; this default rotation is more suited for use with billboarded materials. Unlike :ref:`PlaneMesh<class_PlaneMesh>`, this mesh doesn't provide subdivision options.
  20. Property Descriptions
  21. ---------------------
  22. .. _class_QuadMesh_property_size:
  23. - :ref:`Vector2<class_Vector2>` **size**
  24. +----------+-----------------+
  25. | *Setter* | set_size(value) |
  26. +----------+-----------------+
  27. | *Getter* | get_size() |
  28. +----------+-----------------+