@@ -31,15 +31,19 @@ Properties
3131.. table ::
3232 :widths: auto
3333
34- +-----------------------------------------------------+-------------------------------------------------------------+--------------------------+
35- | :ref: `float<class_float> ` | :ref: `depth<class_CollisionPolygon3D_property_depth> ` | ``1.0 `` |
36- +-----------------------------------------------------+-------------------------------------------------------------+--------------------------+
37- | :ref: `bool<class_bool> ` | :ref: `disabled<class_CollisionPolygon3D_property_disabled> ` | ``false `` |
38- +-----------------------------------------------------+-------------------------------------------------------------+--------------------------+
39- | :ref: `float<class_float> ` | :ref: `margin<class_CollisionPolygon3D_property_margin> ` | ``0.04 `` |
40- +-----------------------------------------------------+-------------------------------------------------------------+--------------------------+
41- | :ref: `PackedVector2Array<class_PackedVector2Array> ` | :ref: `polygon<class_CollisionPolygon3D_property_polygon> ` | ``PackedVector2Array() `` |
42- +-----------------------------------------------------+-------------------------------------------------------------+--------------------------+
34+ +-----------------------------------------------------+-------------------------------------------------------------------+--------------------------+
35+ | :ref: `Color<class_Color> ` | :ref: `debug_color<class_CollisionPolygon3D_property_debug_color> ` | ``Color(0, 0, 0, 0) `` |
36+ +-----------------------------------------------------+-------------------------------------------------------------------+--------------------------+
37+ | :ref: `bool<class_bool> ` | :ref: `debug_fill<class_CollisionPolygon3D_property_debug_fill> ` | ``true `` |
38+ +-----------------------------------------------------+-------------------------------------------------------------------+--------------------------+
39+ | :ref: `float<class_float> ` | :ref: `depth<class_CollisionPolygon3D_property_depth> ` | ``1.0 `` |
40+ +-----------------------------------------------------+-------------------------------------------------------------------+--------------------------+
41+ | :ref: `bool<class_bool> ` | :ref: `disabled<class_CollisionPolygon3D_property_disabled> ` | ``false `` |
42+ +-----------------------------------------------------+-------------------------------------------------------------------+--------------------------+
43+ | :ref: `float<class_float> ` | :ref: `margin<class_CollisionPolygon3D_property_margin> ` | ``0.04 `` |
44+ +-----------------------------------------------------+-------------------------------------------------------------------+--------------------------+
45+ | :ref: `PackedVector2Array<class_PackedVector2Array> ` | :ref: `polygon<class_CollisionPolygon3D_property_polygon> ` | ``PackedVector2Array() `` |
46+ +-----------------------------------------------------+-------------------------------------------------------------------+--------------------------+
4347
4448.. rst-class :: classref-section-separator
4549
@@ -50,6 +54,42 @@ Properties
5054Property Descriptions
5155---------------------
5256
57+ .. _class_CollisionPolygon3D_property_debug_color :
58+
59+ .. rst-class :: classref-property
60+
61+ :ref: `Color<class_Color> ` **debug_color ** = ``Color(0, 0, 0, 0) `` :ref: `🔗<class_CollisionPolygon3D_property_debug_color> `
62+
63+ .. rst-class :: classref-property-setget
64+
65+ - |void | **set_debug_color **\ (\ value\: :ref: `Color<class_Color> `\ )
66+ - :ref: `Color<class_Color> ` **get_debug_color **\ (\ )
67+
68+ The collision shape color that is displayed in the editor, or in the running project if **Debug > Visible Collision Shapes ** is checked at the top of the editor.
69+
70+ \ **Note: ** The default value is :ref: `ProjectSettings.debug/shapes/collision/shape_color<class_ProjectSettings_property_debug/shapes/collision/shape_color> `. The ``Color(0, 0, 0, 0) `` value documented here is a placeholder, and not the actual default debug color.
71+
72+ .. rst-class :: classref-item-separator
73+
74+ ----
75+
76+ .. _class_CollisionPolygon3D_property_debug_fill :
77+
78+ .. rst-class :: classref-property
79+
80+ :ref: `bool<class_bool> ` **debug_fill ** = ``true `` :ref: `🔗<class_CollisionPolygon3D_property_debug_fill> `
81+
82+ .. rst-class :: classref-property-setget
83+
84+ - |void | **set_enable_debug_fill **\ (\ value\: :ref: `bool<class_bool> `\ )
85+ - :ref: `bool<class_bool> ` **get_enable_debug_fill **\ (\ )
86+
87+ If ``true ``, when the shape is displayed, it will show a solid fill color in addition to its wireframe.
88+
89+ .. rst-class :: classref-item-separator
90+
91+ ----
92+
5393.. _class_CollisionPolygon3D_property_depth :
5494
5595.. rst-class :: classref-property
0 commit comments