class_gltftexture.rst 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 GLTFTexture.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_GLTFTexture:
  6. GLTFTexture
  7. ===========
  8. **Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. Description
  10. -----------
  11. **Note:** This class is only compiled in editor builds. Run-time glTF loading and saving is *not* available in exported projects. References to ``GLTFTexture`` within a script will cause an error in an exported project.
  12. Properties
  13. ----------
  14. +-----------------------+--------------------------------------------------------+-------+
  15. | :ref:`int<class_int>` | :ref:`src_image<class_GLTFTexture_property_src_image>` | ``0`` |
  16. +-----------------------+--------------------------------------------------------+-------+
  17. Property Descriptions
  18. ---------------------
  19. .. _class_GLTFTexture_property_src_image:
  20. - :ref:`int<class_int>` **src_image**
  21. +-----------+----------------------+
  22. | *Default* | ``0`` |
  23. +-----------+----------------------+
  24. | *Setter* | set_src_image(value) |
  25. +-----------+----------------------+
  26. | *Getter* | get_src_image() |
  27. +-----------+----------------------+
  28. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  29. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  30. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`