class_gltfmesh.rst 3.3 KB

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