.. 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` **<** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Member Functions ---------------- +--------------------------------+--------------------------------------------------------------------------------------------------+ | :ref:`Texture` | :ref:`get_atlas` **(** **)** const | +--------------------------------+--------------------------------------------------------------------------------------------------+ | :ref:`Rect2` | :ref:`get_margin` **(** **)** const | +--------------------------------+--------------------------------------------------------------------------------------------------+ | :ref:`Rect2` | :ref:`get_region` **(** **)** const | +--------------------------------+--------------------------------------------------------------------------------------------------+ | void | :ref:`set_atlas` **(** :ref:`Texture` atlas **)** | +--------------------------------+--------------------------------------------------------------------------------------------------+ | void | :ref:`set_margin` **(** :ref:`Rect2` margin **)** | +--------------------------------+--------------------------------------------------------------------------------------------------+ | void | :ref:`set_region` **(** :ref:`Rect2` region **)** | +--------------------------------+--------------------------------------------------------------------------------------------------+ Member Variables ---------------- - :ref:`Texture` **atlas** - :ref:`Rect2` **margin** - :ref:`Rect2` **region** Member Function Description --------------------------- .. _class_AtlasTexture_get_atlas: - :ref:`Texture` **get_atlas** **(** **)** const .. _class_AtlasTexture_get_margin: - :ref:`Rect2` **get_margin** **(** **)** const .. _class_AtlasTexture_get_region: - :ref:`Rect2` **get_region** **(** **)** const .. _class_AtlasTexture_set_atlas: - void **set_atlas** **(** :ref:`Texture` atlas **)** .. _class_AtlasTexture_set_margin: - void **set_margin** **(** :ref:`Rect2` margin **)** .. _class_AtlasTexture_set_region: - void **set_region** **(** :ref:`Rect2` region **)**