.. 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:`CapsuleMesh`, :ref:`CubeMesh`, :ref:`CylinderMesh`, :ref:`PlaneMesh`, :ref:`PrismMesh`, :ref:`QuadMesh`, :ref:`SphereMesh` **Category:** Core Brief Description ----------------- Base class for all primitive meshes. Handles applying a :ref:`Material` to a primitive mesh. Properties ---------- +---------------------------------+--------------------------------------------------------------+ | :ref:`AABB` | :ref:`custom_aabb` | +---------------------------------+--------------------------------------------------------------+ | :ref:`bool` | :ref:`flip_faces` | +---------------------------------+--------------------------------------------------------------+ | :ref:`Material` | :ref:`material` | +---------------------------------+--------------------------------------------------------------+ Methods ------- +---------------------------+--------------------------------------------------------------------------------------+ | :ref:`Array` | :ref:`get_mesh_arrays` **(** **)** const | +---------------------------+--------------------------------------------------------------------------------------+ Description ----------- Base class for all primitive meshes. Handles applying a :ref:`Material` to a primitive mesh. Property Descriptions --------------------- .. _class_PrimitiveMesh_property_custom_aabb: - :ref:`AABB` **custom_aabb** +----------+------------------------+ | *Setter* | set_custom_aabb(value) | +----------+------------------------+ | *Getter* | get_custom_aabb() | +----------+------------------------+ .. _class_PrimitiveMesh_property_flip_faces: - :ref:`bool` **flip_faces** +----------+-----------------------+ | *Setter* | set_flip_faces(value) | +----------+-----------------------+ | *Getter* | get_flip_faces() | +----------+-----------------------+ .. _class_PrimitiveMesh_property_material: - :ref:`Material` **material** +----------+---------------------+ | *Setter* | set_material(value) | +----------+---------------------+ | *Getter* | get_material() | +----------+---------------------+ The current :ref:`Material` of the primitive mesh. Method Descriptions ------------------- .. _class_PrimitiveMesh_method_get_mesh_arrays: - :ref:`Array` **get_mesh_arrays** **(** **)** const