diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-10-04 12:05:19 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-10-04 12:05:19 +0200 |
commit | 6a251fd0df488f17cf864fa75930558a0bf0bc29 (patch) | |
tree | 6fb71fad415f010dcb478a254d38acc72eff1bd9 /doc | |
parent | 4eaa59d0ed913145d463622b25b3bd340918be08 (diff) | |
parent | df2209c7001ae4fc524b9207916dbc828fc7bca5 (diff) |
Merge pull request #39072 from dalexeev/cs2d_debug_color
Add debug_color property to CollisionShape2D
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/CollisionShape2D.xml | 4 |
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> |