mirror of
https://github.com/Relintai/pandemonium_engine_docs.git
synced 2025-01-23 15:17:21 +01:00
77 lines
3.1 KiB
ReStructuredText
77 lines
3.1 KiB
ReStructuredText
: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<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.)`
|