Files
godot-docs/classes/class_gltftexture.rst
2022-06-08 13:37:46 +02:00

46 lines
1.7 KiB
ReStructuredText

:github_url: hide
.. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
.. DO NOT EDIT THIS FILE, but the GLTFTexture.xml source instead.
.. The source is found in doc/classes or modules/<name>/doc_classes.
.. _class_GLTFTexture:
GLTFTexture
===========
**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 ``GLTFTexture`` within a script will cause an error in an exported project.
Properties
----------
+-----------------------+--------------------------------------------------------+-------+
| :ref:`int<class_int>` | :ref:`src_image<class_GLTFTexture_property_src_image>` | ``0`` |
+-----------------------+--------------------------------------------------------+-------+
Property Descriptions
---------------------
.. _class_GLTFTexture_property_src_image:
- :ref:`int<class_int>` **src_image**
+-----------+----------------------+
| *Default* | ``0`` |
+-----------+----------------------+
| *Setter* | set_src_image(value) |
+-----------+----------------------+
| *Getter* | get_src_image() |
+-----------+----------------------+
.. |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.)`