class_planemesh.rst 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the PlaneMesh.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_PlaneMesh:
  5. PlaneMesh
  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 planar :ref:`PrimitiveMesh<class_primitivemesh>`.
  12. Member Variables
  13. ----------------
  14. .. _class_PlaneMesh_size:
  15. - :ref:`Vector2<class_vector2>` **size** - Size of the generated plane. Defaults to (2.0, 2.0).
  16. .. _class_PlaneMesh_subdivide_depth:
  17. - :ref:`int<class_int>` **subdivide_depth** - Number of subdivision along the z-axis. Defaults to 0.
  18. .. _class_PlaneMesh_subdivide_width:
  19. - :ref:`int<class_int>` **subdivide_width** - Number of subdivision along the x-axis. Defaults to 0.
  20. Description
  21. -----------
  22. Class representing a planar :ref:`PrimitiveMesh<class_primitivemesh>`. This flat mesh does not have a thickness.