class_backbuffercopy.rst 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. .. _class_BackBufferCopy:
  2. BackBufferCopy
  3. ==============
  4. **Inherits:** :ref:`Node2D<class_node2d>` **<** :ref:`CanvasItem<class_canvasitem>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
  5. **Category:** Core
  6. Brief Description
  7. -----------------
  8. Member Functions
  9. ----------------
  10. +----------------------------+--------------------------------------------------------------------------------------------------------+
  11. | void | :ref:`set_rect<class_BackBufferCopy_set_rect>` **(** :ref:`Rect2<class_rect2>` rect **)** |
  12. +----------------------------+--------------------------------------------------------------------------------------------------------+
  13. | :ref:`Rect2<class_rect2>` | :ref:`get_rect<class_BackBufferCopy_get_rect>` **(** **)** const |
  14. +----------------------------+--------------------------------------------------------------------------------------------------------+
  15. | void | :ref:`set_copy_mode<class_BackBufferCopy_set_copy_mode>` **(** :ref:`int<class_int>` copy_mode **)** |
  16. +----------------------------+--------------------------------------------------------------------------------------------------------+
  17. | :ref:`int<class_int>` | :ref:`get_copy_mode<class_BackBufferCopy_get_copy_mode>` **(** **)** const |
  18. +----------------------------+--------------------------------------------------------------------------------------------------------+
  19. Numeric Constants
  20. -----------------
  21. - **COPY_MODE_DISABLED** = **0**
  22. - **COPY_MODE_RECT** = **1**
  23. - **COPY_MODE_VIEWPORT** = **2**
  24. Member Function Description
  25. ---------------------------
  26. .. _class_BackBufferCopy_set_rect:
  27. - void **set_rect** **(** :ref:`Rect2<class_rect2>` rect **)**
  28. .. _class_BackBufferCopy_get_rect:
  29. - :ref:`Rect2<class_rect2>` **get_rect** **(** **)** const
  30. .. _class_BackBufferCopy_set_copy_mode:
  31. - void **set_copy_mode** **(** :ref:`int<class_int>` copy_mode **)**
  32. .. _class_BackBufferCopy_get_copy_mode:
  33. - :ref:`int<class_int>` **get_copy_mode** **(** **)** const