class_gltfmesh.rst 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/3.6/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/3.6/modules/gltf/doc_classes/GLTFMesh.xml.
  6. .. _class_GLTFMesh:
  7. GLTFMesh
  8. ========
  9. **Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  10. .. rst-class:: classref-introduction-group
  11. Description
  12. -----------
  13. **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.
  14. .. rst-class:: classref-reftable-group
  15. Properties
  16. ----------
  17. .. table::
  18. :widths: auto
  19. +-------------------------------------------+-----------------------------------------------------------------------+-----------------------+
  20. | :ref:`PoolRealArray<class_PoolRealArray>` | :ref:`blend_weights<class_GLTFMesh_property_blend_weights>` | ``PoolRealArray( )`` |
  21. +-------------------------------------------+-----------------------------------------------------------------------+-----------------------+
  22. | :ref:`Array<class_Array>` | :ref:`instance_materials<class_GLTFMesh_property_instance_materials>` | ``[ ]`` |
  23. +-------------------------------------------+-----------------------------------------------------------------------+-----------------------+
  24. | :ref:`ArrayMesh<class_ArrayMesh>` | :ref:`mesh<class_GLTFMesh_property_mesh>` | |
  25. +-------------------------------------------+-----------------------------------------------------------------------+-----------------------+
  26. .. rst-class:: classref-section-separator
  27. ----
  28. .. rst-class:: classref-descriptions-group
  29. Property Descriptions
  30. ---------------------
  31. .. _class_GLTFMesh_property_blend_weights:
  32. .. rst-class:: classref-property
  33. :ref:`PoolRealArray<class_PoolRealArray>` **blend_weights** = ``PoolRealArray( )``
  34. .. rst-class:: classref-property-setget
  35. - void **set_blend_weights** **(** :ref:`PoolRealArray<class_PoolRealArray>` value **)**
  36. - :ref:`PoolRealArray<class_PoolRealArray>` **get_blend_weights** **(** **)**
  37. .. container:: contribute
  38. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  39. .. rst-class:: classref-item-separator
  40. ----
  41. .. _class_GLTFMesh_property_instance_materials:
  42. .. rst-class:: classref-property
  43. :ref:`Array<class_Array>` **instance_materials** = ``[ ]``
  44. .. rst-class:: classref-property-setget
  45. - void **set_instance_materials** **(** :ref:`Array<class_Array>` value **)**
  46. - :ref:`Array<class_Array>` **get_instance_materials** **(** **)**
  47. .. container:: contribute
  48. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  49. .. rst-class:: classref-item-separator
  50. ----
  51. .. _class_GLTFMesh_property_mesh:
  52. .. rst-class:: classref-property
  53. :ref:`ArrayMesh<class_ArrayMesh>` **mesh**
  54. .. rst-class:: classref-property-setget
  55. - void **set_mesh** **(** :ref:`ArrayMesh<class_ArrayMesh>` value **)**
  56. - :ref:`ArrayMesh<class_ArrayMesh>` **get_mesh** **(** **)**
  57. .. container:: contribute
  58. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  59. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  60. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  61. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  62. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`