mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
75 lines
3.3 KiB
ReStructuredText
75 lines
3.3 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>`
|
|
|
|
|
|
|
|
Properties
|
|
----------
|
|
|
|
+-----------------------------------------------------+-----------------------------------------------------------------------+--------------------------+
|
|
| :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>` | |
|
|
+-----------------------------------------------------+-----------------------------------------------------------------------+--------------------------+
|
|
|
|
Property Descriptions
|
|
---------------------
|
|
|
|
.. _class_GLTFMesh_property_blend_weights:
|
|
|
|
- :ref:`PackedFloat32Array<class_PackedFloat32Array>` **blend_weights**
|
|
|
|
+-----------+--------------------------+
|
|
| *Default* | ``PackedFloat32Array()`` |
|
|
+-----------+--------------------------+
|
|
| *Setter* | set_blend_weights(value) |
|
|
+-----------+--------------------------+
|
|
| *Getter* | get_blend_weights() |
|
|
+-----------+--------------------------+
|
|
|
|
----
|
|
|
|
.. _class_GLTFMesh_property_instance_materials:
|
|
|
|
- :ref:`Material[]<class_Material>` **instance_materials**
|
|
|
|
+-----------+-------------------------------+
|
|
| *Default* | ``[]`` |
|
|
+-----------+-------------------------------+
|
|
| *Setter* | set_instance_materials(value) |
|
|
+-----------+-------------------------------+
|
|
| *Getter* | get_instance_materials() |
|
|
+-----------+-------------------------------+
|
|
|
|
----
|
|
|
|
.. _class_GLTFMesh_property_mesh:
|
|
|
|
- :ref:`ImporterMesh<class_ImporterMesh>` **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.)`
|
|
.. |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.)`
|