mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Sync classref with current source, adds Enums
This commit is contained in:
@@ -21,7 +21,7 @@ Member Variables
|
||||
|
||||
.. _class_CollisionPolygon2D_build_mode:
|
||||
|
||||
- :ref:`int<class_int>` **build_mode** - Collision build mode. Use one of the ``BUILD\_\*`` constants. Default value: ``BUILD_SOLIDS``.
|
||||
- :ref:`BuildMode<enum_collisionpolygon2d_buildmode>` **build_mode** - Collision build mode. Use one of the ``BUILD\_\*`` constants. Default value: ``BUILD_SOLIDS``.
|
||||
|
||||
.. _class_CollisionPolygon2D_disabled:
|
||||
|
||||
@@ -36,12 +36,17 @@ Member Variables
|
||||
- :ref:`PoolVector2Array<class_poolvector2array>` **polygon** - The polygon's list of vertices. The final point will be connected to the first.
|
||||
|
||||
|
||||
Numeric Constants
|
||||
-----------------
|
||||
Enums
|
||||
-----
|
||||
|
||||
.. _enum_CollisionPolygon2D_BuildMode:
|
||||
|
||||
enum **BuildMode**
|
||||
|
||||
- **BUILD_SOLIDS** = **0** --- Collisions will include the polygon and its contained area.
|
||||
- **BUILD_SEGMENTS** = **1** --- Collisions will only include the polygon edges.
|
||||
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user