mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
69 lines
3.6 KiB
ReStructuredText
69 lines
3.6 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_BitMap:
|
|
|
|
BitMap
|
|
======
|
|
|
|
**Inherits:** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
|
|
|
|
**Category:** Core
|
|
|
|
Brief Description
|
|
-----------------
|
|
|
|
|
|
|
|
Member Functions
|
|
----------------
|
|
|
|
+--------------------------------+----------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`create<class_BitMap_create>` **(** :ref:`Vector2<class_vector2>` size **)** |
|
|
+--------------------------------+----------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`create_from_image_alpha<class_BitMap_create_from_image_alpha>` **(** :ref:`Image<class_image>` image **)** |
|
|
+--------------------------------+----------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`bool<class_bool>` | :ref:`get_bit<class_BitMap_get_bit>` **(** :ref:`Vector2<class_vector2>` pos **)** const |
|
|
+--------------------------------+----------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`Vector2<class_vector2>` | :ref:`get_size<class_BitMap_get_size>` **(** **)** const |
|
|
+--------------------------------+----------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`int<class_int>` | :ref:`get_true_bit_count<class_BitMap_get_true_bit_count>` **(** **)** const |
|
|
+--------------------------------+----------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_bit<class_BitMap_set_bit>` **(** :ref:`Vector2<class_vector2>` pos, :ref:`bool<class_bool>` bit **)** |
|
|
+--------------------------------+----------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_bit_rect<class_BitMap_set_bit_rect>` **(** :ref:`Rect2<class_rect2>` p_rect, :ref:`bool<class_bool>` bit **)** |
|
|
+--------------------------------+----------------------------------------------------------------------------------------------------------------------------+
|
|
|
|
Member Function Description
|
|
---------------------------
|
|
|
|
.. _class_BitMap_create:
|
|
|
|
- void **create** **(** :ref:`Vector2<class_vector2>` size **)**
|
|
|
|
.. _class_BitMap_create_from_image_alpha:
|
|
|
|
- void **create_from_image_alpha** **(** :ref:`Image<class_image>` image **)**
|
|
|
|
.. _class_BitMap_get_bit:
|
|
|
|
- :ref:`bool<class_bool>` **get_bit** **(** :ref:`Vector2<class_vector2>` pos **)** const
|
|
|
|
.. _class_BitMap_get_size:
|
|
|
|
- :ref:`Vector2<class_vector2>` **get_size** **(** **)** const
|
|
|
|
.. _class_BitMap_get_true_bit_count:
|
|
|
|
- :ref:`int<class_int>` **get_true_bit_count** **(** **)** const
|
|
|
|
.. _class_BitMap_set_bit:
|
|
|
|
- void **set_bit** **(** :ref:`Vector2<class_vector2>` pos, :ref:`bool<class_bool>` bit **)**
|
|
|
|
.. _class_BitMap_set_bit_rect:
|
|
|
|
- void **set_bit_rect** **(** :ref:`Rect2<class_rect2>` p_rect, :ref:`bool<class_bool>` bit **)**
|
|
|
|
|