mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
68 lines
2.9 KiB
ReStructuredText
68 lines
2.9 KiB
ReStructuredText
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
|
.. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
|
|
|
|
.. _class_AtlasTexture:
|
|
|
|
AtlasTexture
|
|
============
|
|
|
|
**Inherits:** :ref:`Texture<class_texture>` **<** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
|
|
|
|
**Category:** Core
|
|
|
|
Brief Description
|
|
-----------------
|
|
|
|
|
|
|
|
Member Functions
|
|
----------------
|
|
|
|
+--------------------------------+--------------------------------------------------------------------------------------------------+
|
|
| :ref:`Texture<class_texture>` | :ref:`get_atlas<class_AtlasTexture_get_atlas>` **(** **)** const |
|
|
+--------------------------------+--------------------------------------------------------------------------------------------------+
|
|
| :ref:`Rect2<class_rect2>` | :ref:`get_margin<class_AtlasTexture_get_margin>` **(** **)** const |
|
|
+--------------------------------+--------------------------------------------------------------------------------------------------+
|
|
| :ref:`Rect2<class_rect2>` | :ref:`get_region<class_AtlasTexture_get_region>` **(** **)** const |
|
|
+--------------------------------+--------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_atlas<class_AtlasTexture_set_atlas>` **(** :ref:`Texture<class_texture>` atlas **)** |
|
|
+--------------------------------+--------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_margin<class_AtlasTexture_set_margin>` **(** :ref:`Rect2<class_rect2>` margin **)** |
|
|
+--------------------------------+--------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_region<class_AtlasTexture_set_region>` **(** :ref:`Rect2<class_rect2>` region **)** |
|
|
+--------------------------------+--------------------------------------------------------------------------------------------------+
|
|
|
|
Signals
|
|
-------
|
|
|
|
- **atlas_changed** **(** **)**
|
|
|
|
Member Function Description
|
|
---------------------------
|
|
|
|
.. _class_AtlasTexture_get_atlas:
|
|
|
|
- :ref:`Texture<class_texture>` **get_atlas** **(** **)** const
|
|
|
|
.. _class_AtlasTexture_get_margin:
|
|
|
|
- :ref:`Rect2<class_rect2>` **get_margin** **(** **)** const
|
|
|
|
.. _class_AtlasTexture_get_region:
|
|
|
|
- :ref:`Rect2<class_rect2>` **get_region** **(** **)** const
|
|
|
|
.. _class_AtlasTexture_set_atlas:
|
|
|
|
- void **set_atlas** **(** :ref:`Texture<class_texture>` atlas **)**
|
|
|
|
.. _class_AtlasTexture_set_margin:
|
|
|
|
- void **set_margin** **(** :ref:`Rect2<class_rect2>` margin **)**
|
|
|
|
.. _class_AtlasTexture_set_region:
|
|
|
|
- void **set_region** **(** :ref:`Rect2<class_rect2>` region **)**
|
|
|
|
|