12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- :github_url: hide
- .. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
- .. DO NOT EDIT THIS FILE, but the GLTFMesh.xml source instead.
- .. The source is found in doc/classes or modules/<name>/doc_classes.
- .. _class_GLTFMesh:
- GLTFMesh
- ========
- **Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_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<class_PoolRealArray>` | :ref:`blend_weights<class_GLTFMesh_property_blend_weights>` | ``PoolRealArray( )`` |
- +-------------------------------------------+-----------------------------------------------------------------------+-----------------------+
- | :ref:`Array<class_Array>` | :ref:`instance_materials<class_GLTFMesh_property_instance_materials>` | ``[ ]`` |
- +-------------------------------------------+-----------------------------------------------------------------------+-----------------------+
- | :ref:`ArrayMesh<class_ArrayMesh>` | :ref:`mesh<class_GLTFMesh_property_mesh>` | |
- +-------------------------------------------+-----------------------------------------------------------------------+-----------------------+
- Property Descriptions
- ---------------------
- .. _class_GLTFMesh_property_blend_weights:
- - :ref:`PoolRealArray<class_PoolRealArray>` **blend_weights**
- +-----------+--------------------------+
- | *Default* | ``PoolRealArray( )`` |
- +-----------+--------------------------+
- | *Setter* | set_blend_weights(value) |
- +-----------+--------------------------+
- | *Getter* | get_blend_weights() |
- +-----------+--------------------------+
- ----
- .. _class_GLTFMesh_property_instance_materials:
- - :ref:`Array<class_Array>` **instance_materials**
- +-----------+-------------------------------+
- | *Default* | ``[ ]`` |
- +-----------+-------------------------------+
- | *Setter* | set_instance_materials(value) |
- +-----------+-------------------------------+
- | *Getter* | get_instance_materials() |
- +-----------+-------------------------------+
- ----
- .. _class_GLTFMesh_property_mesh:
- - :ref:`ArrayMesh<class_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.)`
|