.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the PrimitiveMesh.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_PrimitiveMesh: PrimitiveMesh ============= **Inherits:** :ref:`Mesh` **<** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Inherited By:** :ref:`PlaneMesh`, :ref:`CubeMesh`, :ref:`SphereMesh`, :ref:`CylinderMesh`, :ref:`CapsuleMesh`, :ref:`QuadMesh`, :ref:`PrismMesh` **Category:** Core Brief Description ----------------- Base class for all primitive meshes. Handles applying a :ref:`Material` to a primitive mesh. Member Functions ---------------- +----------------------------+-------------------------------------------------------------------------------+ | :ref:`Array` | :ref:`get_mesh_arrays` **(** **)** const | +----------------------------+-------------------------------------------------------------------------------+ Member Variables ---------------- .. _class_PrimitiveMesh_material: - :ref:`Material` **material** - The current :ref:`Material` of the primitive mesh. Description ----------- Base class for all primitive meshes. Handles applying a :ref:`Material` to a primitive mesh. Member Function Description --------------------------- .. _class_PrimitiveMesh_get_mesh_arrays: - :ref:`Array` **get_mesh_arrays** **(** **)** const