summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorDanil Alexeev <danil@alexeev.xyz>2022-09-21 16:01:43 +0300
committerDanil Alexeev <danil@alexeev.xyz>2022-09-21 16:07:47 +0300
commitdf2209c7001ae4fc524b9207916dbc828fc7bca5 (patch)
tree95efb21b0daea055e21d1d4999b64e6649f0c65b /doc/classes
parent74765691cb4b5989df73d48acf547d120aa46779 (diff)
Add `CollisionShape2D.debug_color` property
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/CollisionShape2D.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/classes/CollisionShape2D.xml b/doc/classes/CollisionShape2D.xml
index fa8fbd0d3e..75530370bc 100644
--- a/doc/classes/CollisionShape2D.xml
+++ b/doc/classes/CollisionShape2D.xml
@@ -14,6 +14,10 @@
<link title="2D Kinematic Character Demo">https://godotengine.org/asset-library/asset/113</link>
</tutorials>
<members>
+ <member name="debug_color" type="Color" setter="set_debug_color" getter="get_debug_color" default="Color(0, 0, 0, 1)">
+ The collision shape debug color.
+ [b]Note:[/b] The default value is [member ProjectSettings.debug/shapes/collision/shape_color]. The [code]Color(0, 0, 0, 1)[/code] value documented here is a placeholder, and not the actual default debug color.
+ </member>
<member name="disabled" type="bool" setter="set_disabled" getter="is_disabled" default="false">
A disabled collision shape has no effect in the world. This property should be changed with [method Object.set_deferred].
</member>