class_gltfmesh.rst 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the GLTFMesh.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_GLTFMesh:
  6. GLTFMesh
  7. ========
  8. **Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  9. Properties
  10. ----------
  11. +-----------------------------------------------------+-----------------------------------------------------------------------+--------------------------+
  12. | :ref:`PackedFloat32Array<class_PackedFloat32Array>` | :ref:`blend_weights<class_GLTFMesh_property_blend_weights>` | ``PackedFloat32Array()`` |
  13. +-----------------------------------------------------+-----------------------------------------------------------------------+--------------------------+
  14. | :ref:`Array<class_Array>` | :ref:`instance_materials<class_GLTFMesh_property_instance_materials>` | ``[]`` |
  15. +-----------------------------------------------------+-----------------------------------------------------------------------+--------------------------+
  16. | :ref:`ImporterMesh<class_ImporterMesh>` | :ref:`mesh<class_GLTFMesh_property_mesh>` | |
  17. +-----------------------------------------------------+-----------------------------------------------------------------------+--------------------------+
  18. Property Descriptions
  19. ---------------------
  20. .. _class_GLTFMesh_property_blend_weights:
  21. - :ref:`PackedFloat32Array<class_PackedFloat32Array>` **blend_weights**
  22. +-----------+--------------------------+
  23. | *Default* | ``PackedFloat32Array()`` |
  24. +-----------+--------------------------+
  25. | *Setter* | set_blend_weights(value) |
  26. +-----------+--------------------------+
  27. | *Getter* | get_blend_weights() |
  28. +-----------+--------------------------+
  29. ----
  30. .. _class_GLTFMesh_property_instance_materials:
  31. - :ref:`Array<class_Array>` **instance_materials**
  32. +-----------+-------------------------------+
  33. | *Default* | ``[]`` |
  34. +-----------+-------------------------------+
  35. | *Setter* | set_instance_materials(value) |
  36. +-----------+-------------------------------+
  37. | *Getter* | get_instance_materials() |
  38. +-----------+-------------------------------+
  39. ----
  40. .. _class_GLTFMesh_property_mesh:
  41. - :ref:`ImporterMesh<class_ImporterMesh>` **mesh**
  42. +----------+-----------------+
  43. | *Setter* | set_mesh(value) |
  44. +----------+-----------------+
  45. | *Getter* | get_mesh() |
  46. +----------+-----------------+
  47. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  48. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  49. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  50. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  51. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  52. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`