Files
godot-docs/classes/class_gltfmesh.rst
2023-11-18 03:19:25 +00:00

111 lines
4.5 KiB
ReStructuredText

:github_url: hide
.. 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/modules/gltf/doc_classes/GLTFMesh.xml.
.. _class_GLTFMesh:
GLTFMesh
========
**Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
.. container:: contribute
There is currently no description for this class. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
.. rst-class:: classref-introduction-group
Tutorials
---------
- :doc:`Runtime file loading and saving <../tutorials/io/runtime_file_loading_and_saving>`
.. rst-class:: classref-reftable-group
Properties
----------
.. table::
:widths: auto
+-----------------------------------------------------+-----------------------------------------------------------------------+--------------------------+
| :ref:`PackedFloat32Array<class_PackedFloat32Array>` | :ref:`blend_weights<class_GLTFMesh_property_blend_weights>` | ``PackedFloat32Array()`` |
+-----------------------------------------------------+-----------------------------------------------------------------------+--------------------------+
| :ref:`Material[]<class_Material>` | :ref:`instance_materials<class_GLTFMesh_property_instance_materials>` | ``[]`` |
+-----------------------------------------------------+-----------------------------------------------------------------------+--------------------------+
| :ref:`ImporterMesh<class_ImporterMesh>` | :ref:`mesh<class_GLTFMesh_property_mesh>` | |
+-----------------------------------------------------+-----------------------------------------------------------------------+--------------------------+
.. rst-class:: classref-section-separator
----
.. rst-class:: classref-descriptions-group
Property Descriptions
---------------------
.. _class_GLTFMesh_property_blend_weights:
.. rst-class:: classref-property
:ref:`PackedFloat32Array<class_PackedFloat32Array>` **blend_weights** = ``PackedFloat32Array()``
.. rst-class:: classref-property-setget
- void **set_blend_weights** **(** :ref:`PackedFloat32Array<class_PackedFloat32Array>` value **)**
- :ref:`PackedFloat32Array<class_PackedFloat32Array>` **get_blend_weights** **(** **)**
.. container:: contribute
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
.. rst-class:: classref-item-separator
----
.. _class_GLTFMesh_property_instance_materials:
.. rst-class:: classref-property
:ref:`Material[]<class_Material>` **instance_materials** = ``[]``
.. rst-class:: classref-property-setget
- void **set_instance_materials** **(** :ref:`Material[]<class_Material>` value **)**
- :ref:`Material[]<class_Material>` **get_instance_materials** **(** **)**
.. container:: contribute
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
.. rst-class:: classref-item-separator
----
.. _class_GLTFMesh_property_mesh:
.. rst-class:: classref-property
:ref:`ImporterMesh<class_ImporterMesh>` **mesh**
.. rst-class:: classref-property-setget
- void **set_mesh** **(** :ref:`ImporterMesh<class_ImporterMesh>` value **)**
- :ref:`ImporterMesh<class_ImporterMesh>` **get_mesh** **(** **)**
.. container:: contribute
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
.. |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.)`