.. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/docs/gdscript/doc/classes/PrimitiveMesh.xml. .. _class_PrimitiveMesh: PrimitiveMesh ============= **Inherits:** :ref:`Mesh` **<** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` **Inherited By:** :ref:`BoxMesh`, :ref:`CapsuleMesh`, :ref:`CylinderMesh`, :ref:`PlaneMesh`, :ref:`PointMesh`, :ref:`PrismMesh`, :ref:`RibbonTrailMesh`, :ref:`SphereMesh`, :ref:`TextMesh`, :ref:`TorusMesh`, :ref:`TubeTrailMesh` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +---------------------------------+--------------------------------------------------------------+----------------------------+ | :ref:`bool` | :ref:`add_uv2` | ``false`` | +---------------------------------+--------------------------------------------------------------+----------------------------+ | :ref:`AABB` | :ref:`custom_aabb` | ``AABB(0, 0, 0, 0, 0, 0)`` | +---------------------------------+--------------------------------------------------------------+----------------------------+ | :ref:`bool` | :ref:`flip_faces` | ``false`` | +---------------------------------+--------------------------------------------------------------+----------------------------+ | :ref:`Material` | :ref:`material` | | +---------------------------------+--------------------------------------------------------------+----------------------------+ | :ref:`float` | :ref:`uv2_padding` | ``2.0`` | +---------------------------------+--------------------------------------------------------------+----------------------------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +---------------------------+----------------------------------------------------------------------------------------------------------------+ | :ref:`Array` | :ref:`_create_mesh_array` **(** **)** |virtual| |const| | +---------------------------+----------------------------------------------------------------------------------------------------------------+ | :ref:`Array` | :ref:`get_mesh_arrays` **(** **)** |const| | +---------------------------+----------------------------------------------------------------------------------------------------------------+ | void | :ref:`request_update` **(** **)** | +---------------------------+----------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_PrimitiveMesh_property_add_uv2: .. rst-class:: classref-property :ref:`bool` **add_uv2** = ``false`` .. rst-class:: classref-property-setget - void **set_add_uv2** **(** :ref:`bool` value **)** - :ref:`bool` **get_add_uv2** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PrimitiveMesh_property_custom_aabb: .. rst-class:: classref-property :ref:`AABB` **custom_aabb** = ``AABB(0, 0, 0, 0, 0, 0)`` .. rst-class:: classref-property-setget - void **set_custom_aabb** **(** :ref:`AABB` value **)** - :ref:`AABB` **get_custom_aabb** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PrimitiveMesh_property_flip_faces: .. rst-class:: classref-property :ref:`bool` **flip_faces** = ``false`` .. rst-class:: classref-property-setget - void **set_flip_faces** **(** :ref:`bool` value **)** - :ref:`bool` **get_flip_faces** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PrimitiveMesh_property_material: .. rst-class:: classref-property :ref:`Material` **material** .. rst-class:: classref-property-setget - void **set_material** **(** :ref:`Material` value **)** - :ref:`Material` **get_material** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PrimitiveMesh_property_uv2_padding: .. rst-class:: classref-property :ref:`float` **uv2_padding** = ``2.0`` .. rst-class:: classref-property-setget - void **set_uv2_padding** **(** :ref:`float` value **)** - :ref:`float` **get_uv2_padding** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_PrimitiveMesh_private_method__create_mesh_array: .. rst-class:: classref-method :ref:`Array` **_create_mesh_array** **(** **)** |virtual| |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PrimitiveMesh_method_get_mesh_arrays: .. rst-class:: classref-method :ref:`Array` **get_mesh_arrays** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_PrimitiveMesh_method_request_update: .. rst-class:: classref-method void **request_update** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`