:github_url: hide .. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/3.5/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/3.5/modules/gltf/doc_classes/GLTFMesh.xml. .. _class_GLTFMesh: GLTFMesh ======== **Inherits:** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` Description ----------- **Note:** This class is only compiled in editor builds. Run-time glTF loading and saving is *not* available in exported projects. References to ``GLTFMesh`` within a script will cause an error in an exported project. Properties ---------- +-------------------------------------------+-----------------------------------------------------------------------+-----------------------+ | :ref:`PoolRealArray` | :ref:`blend_weights` | ``PoolRealArray( )`` | +-------------------------------------------+-----------------------------------------------------------------------+-----------------------+ | :ref:`Array` | :ref:`instance_materials` | ``[ ]`` | +-------------------------------------------+-----------------------------------------------------------------------+-----------------------+ | :ref:`ArrayMesh` | :ref:`mesh` | | +-------------------------------------------+-----------------------------------------------------------------------+-----------------------+ Property Descriptions --------------------- .. _class_GLTFMesh_property_blend_weights: - :ref:`PoolRealArray` **blend_weights** +-----------+--------------------------+ | *Default* | ``PoolRealArray( )`` | +-----------+--------------------------+ | *Setter* | set_blend_weights(value) | +-----------+--------------------------+ | *Getter* | get_blend_weights() | +-----------+--------------------------+ ---- .. _class_GLTFMesh_property_instance_materials: - :ref:`Array` **instance_materials** +-----------+-------------------------------+ | *Default* | ``[ ]`` | +-----------+-------------------------------+ | *Setter* | set_instance_materials(value) | +-----------+-------------------------------+ | *Getter* | get_instance_materials() | +-----------+-------------------------------+ ---- .. _class_GLTFMesh_property_mesh: - :ref:`ArrayMesh` **mesh** +----------+-----------------+ | *Setter* | set_mesh(value) | +----------+-----------------+ | *Getter* | get_mesh() | +----------+-----------------+ .. |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.)`