mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
78 lines
3.4 KiB
ReStructuredText
78 lines
3.4 KiB
ReStructuredText
:github_url: hide
|
|
|
|
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
|
.. DO NOT EDIT THIS FILE, but the Texture3D.xml source instead.
|
|
.. The source is found in doc/classes or modules/<name>/doc_classes.
|
|
|
|
.. _class_Texture3D:
|
|
|
|
Texture3D
|
|
=========
|
|
|
|
**Inherits:** :ref:`Texture<class_Texture>` **<** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
|
|
|
|
**Inherited By:** :ref:`ImageTexture3D<class_ImageTexture3D>`, :ref:`StreamTexture3D<class_StreamTexture3D>`
|
|
|
|
|
|
|
|
Methods
|
|
-------
|
|
|
|
+----------------------------------+----------------------------------------------------------------------------+
|
|
| :ref:`Image[]<class_Image>` | :ref:`get_data<class_Texture3D_method_get_data>` **(** **)** |const| |
|
|
+----------------------------------+----------------------------------------------------------------------------+
|
|
| :ref:`int<class_int>` | :ref:`get_depth<class_Texture3D_method_get_depth>` **(** **)** |const| |
|
|
+----------------------------------+----------------------------------------------------------------------------+
|
|
| :ref:`Format<enum_Image_Format>` | :ref:`get_format<class_Texture3D_method_get_format>` **(** **)** |const| |
|
|
+----------------------------------+----------------------------------------------------------------------------+
|
|
| :ref:`int<class_int>` | :ref:`get_height<class_Texture3D_method_get_height>` **(** **)** |const| |
|
|
+----------------------------------+----------------------------------------------------------------------------+
|
|
| :ref:`int<class_int>` | :ref:`get_width<class_Texture3D_method_get_width>` **(** **)** |const| |
|
|
+----------------------------------+----------------------------------------------------------------------------+
|
|
| :ref:`bool<class_bool>` | :ref:`has_mipmaps<class_Texture3D_method_has_mipmaps>` **(** **)** |const| |
|
|
+----------------------------------+----------------------------------------------------------------------------+
|
|
|
|
Method Descriptions
|
|
-------------------
|
|
|
|
.. _class_Texture3D_method_get_data:
|
|
|
|
- :ref:`Image[]<class_Image>` **get_data** **(** **)** |const|
|
|
|
|
----
|
|
|
|
.. _class_Texture3D_method_get_depth:
|
|
|
|
- :ref:`int<class_int>` **get_depth** **(** **)** |const|
|
|
|
|
----
|
|
|
|
.. _class_Texture3D_method_get_format:
|
|
|
|
- :ref:`Format<enum_Image_Format>` **get_format** **(** **)** |const|
|
|
|
|
----
|
|
|
|
.. _class_Texture3D_method_get_height:
|
|
|
|
- :ref:`int<class_int>` **get_height** **(** **)** |const|
|
|
|
|
----
|
|
|
|
.. _class_Texture3D_method_get_width:
|
|
|
|
- :ref:`int<class_int>` **get_width** **(** **)** |const|
|
|
|
|
----
|
|
|
|
.. _class_Texture3D_method_has_mipmaps:
|
|
|
|
- :ref:`bool<class_bool>` **has_mipmaps** **(** **)** |const|
|
|
|
|
.. |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.)`
|
|
.. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
|
|
.. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
|
|
.. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
|