class_occluderpolygon2d.rst 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
  3. .. _class_OccluderPolygon2D:
  4. OccluderPolygon2D
  5. =================
  6. **Inherits:** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
  7. **Category:** Core
  8. Brief Description
  9. -----------------
  10. Member Functions
  11. ----------------
  12. +------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+
  13. | :ref:`int<class_int>` | :ref:`get_cull_mode<class_OccluderPolygon2D_get_cull_mode>` **(** **)** const |
  14. +------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+
  15. | :ref:`Vector2Array<class_vector2array>` | :ref:`get_polygon<class_OccluderPolygon2D_get_polygon>` **(** **)** const |
  16. +------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+
  17. | :ref:`bool<class_bool>` | :ref:`is_closed<class_OccluderPolygon2D_is_closed>` **(** **)** const |
  18. +------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+
  19. | void | :ref:`set_closed<class_OccluderPolygon2D_set_closed>` **(** :ref:`bool<class_bool>` closed **)** |
  20. +------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+
  21. | void | :ref:`set_cull_mode<class_OccluderPolygon2D_set_cull_mode>` **(** :ref:`int<class_int>` cull_mode **)** |
  22. +------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+
  23. | void | :ref:`set_polygon<class_OccluderPolygon2D_set_polygon>` **(** :ref:`Vector2Array<class_vector2array>` polygon **)** |
  24. +------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+
  25. Numeric Constants
  26. -----------------
  27. - **CULL_DISABLED** = **0**
  28. - **CULL_CLOCKWISE** = **1**
  29. - **CULL_COUNTER_CLOCKWISE** = **2**
  30. Member Function Description
  31. ---------------------------
  32. .. _class_OccluderPolygon2D_get_cull_mode:
  33. - :ref:`int<class_int>` **get_cull_mode** **(** **)** const
  34. .. _class_OccluderPolygon2D_get_polygon:
  35. - :ref:`Vector2Array<class_vector2array>` **get_polygon** **(** **)** const
  36. .. _class_OccluderPolygon2D_is_closed:
  37. - :ref:`bool<class_bool>` **is_closed** **(** **)** const
  38. .. _class_OccluderPolygon2D_set_closed:
  39. - void **set_closed** **(** :ref:`bool<class_bool>` closed **)**
  40. .. _class_OccluderPolygon2D_set_cull_mode:
  41. - void **set_cull_mode** **(** :ref:`int<class_int>` cull_mode **)**
  42. .. _class_OccluderPolygon2D_set_polygon:
  43. - void **set_polygon** **(** :ref:`Vector2Array<class_vector2array>` polygon **)**