mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
doc: Add default values to all properties
Thanks to @bojidar-bg's impressive work in #29380.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="color" type="Color" setter="set_frame_color" getter="get_frame_color">
|
||||
<member name="color" type="Color" setter="set_frame_color" getter="get_frame_color" default="Color( 1, 1, 1, 1 )">
|
||||
The fill color.
|
||||
[codeblock]
|
||||
$ColorRect.color = Color(1, 0, 0, 1) # Set ColorRect's color to red.
|
||||
|
||||
Reference in New Issue
Block a user