mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
75 lines
4.1 KiB
ReStructuredText
75 lines
4.1 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_CollisionPolygon:
|
|
|
|
CollisionPolygon
|
|
================
|
|
|
|
**Inherits:** :ref:`Spatial<class_spatial>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
|
|
|
|
**Category:** Core
|
|
|
|
Brief Description
|
|
-----------------
|
|
|
|
|
|
|
|
Member Functions
|
|
----------------
|
|
|
|
+------------------------------------------+----------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`int<class_int>` | :ref:`get_build_mode<class_CollisionPolygon_get_build_mode>` **(** **)** const |
|
|
+------------------------------------------+----------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`int<class_int>` | :ref:`get_collision_object_first_shape<class_CollisionPolygon_get_collision_object_first_shape>` **(** **)** const |
|
|
+------------------------------------------+----------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`int<class_int>` | :ref:`get_collision_object_last_shape<class_CollisionPolygon_get_collision_object_last_shape>` **(** **)** const |
|
|
+------------------------------------------+----------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`float<class_float>` | :ref:`get_depth<class_CollisionPolygon_get_depth>` **(** **)** const |
|
|
+------------------------------------------+----------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`Vector2Array<class_vector2array>` | :ref:`get_polygon<class_CollisionPolygon_get_polygon>` **(** **)** const |
|
|
+------------------------------------------+----------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_build_mode<class_CollisionPolygon_set_build_mode>` **(** :ref:`int<class_int>` build_mode **)** |
|
|
+------------------------------------------+----------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_depth<class_CollisionPolygon_set_depth>` **(** :ref:`float<class_float>` depth **)** |
|
|
+------------------------------------------+----------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_polygon<class_CollisionPolygon_set_polygon>` **(** :ref:`Vector2Array<class_vector2array>` polygon **)** |
|
|
+------------------------------------------+----------------------------------------------------------------------------------------------------------------------+
|
|
|
|
Member Function Description
|
|
---------------------------
|
|
|
|
.. _class_CollisionPolygon_get_build_mode:
|
|
|
|
- :ref:`int<class_int>` **get_build_mode** **(** **)** const
|
|
|
|
.. _class_CollisionPolygon_get_collision_object_first_shape:
|
|
|
|
- :ref:`int<class_int>` **get_collision_object_first_shape** **(** **)** const
|
|
|
|
.. _class_CollisionPolygon_get_collision_object_last_shape:
|
|
|
|
- :ref:`int<class_int>` **get_collision_object_last_shape** **(** **)** const
|
|
|
|
.. _class_CollisionPolygon_get_depth:
|
|
|
|
- :ref:`float<class_float>` **get_depth** **(** **)** const
|
|
|
|
.. _class_CollisionPolygon_get_polygon:
|
|
|
|
- :ref:`Vector2Array<class_vector2array>` **get_polygon** **(** **)** const
|
|
|
|
.. _class_CollisionPolygon_set_build_mode:
|
|
|
|
- void **set_build_mode** **(** :ref:`int<class_int>` build_mode **)**
|
|
|
|
.. _class_CollisionPolygon_set_depth:
|
|
|
|
- void **set_depth** **(** :ref:`float<class_float>` depth **)**
|
|
|
|
.. _class_CollisionPolygon_set_polygon:
|
|
|
|
- void **set_polygon** **(** :ref:`Vector2Array<class_vector2array>` polygon **)**
|
|
|
|
|