summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-06-30 13:41:45 +0200
committerGitHub <noreply@github.com>2019-06-30 13:41:45 +0200
commit82604195b4c2c80777f7ecaa547194c6a208e8cf (patch)
tree4aaab645c6f9458cd78f0625435b1276e92a581e /doc
parent96d3270c344c7fe9a463b87006b0c56004128f6d (diff)
parentd29b1b791774f0aa72a1230087c884b83e65d780 (diff)
Merge pull request #30062 from zaksnet/fix-referencerect-node
Adds ReferenceRect an option to be visible inside the game
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/ReferenceRect.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/classes/ReferenceRect.xml b/doc/classes/ReferenceRect.xml
index f6025fe2f9..3b5481a7a1 100644
--- a/doc/classes/ReferenceRect.xml
+++ b/doc/classes/ReferenceRect.xml
@@ -4,7 +4,7 @@
Reference frame for GUI.
</brief_description>
<description>
- Reference frame for GUI. It's just like an empty control, except an outline border [member border_color] is displayed while editing around its size at all times.
+ A rectangle box that displays only a [member border_color] border color around its rectangle. [ReferenceRect] has no fill [Color].
</description>
<tutorials>
</tutorials>
@@ -12,7 +12,10 @@
</methods>
<members>
<member name="border_color" type="Color" setter="set_border_color" getter="get_border_color">
- Determines the border [Color] of the [ReferenceRect].
+ Sets the border [Color] of the [ReferenceRect].
+ </member>
+ <member name="editor_only" type="bool" setter="set_editor_only" getter="get_editor_only">
+ If set to [code]true[/code], the [ReferenceRect] will only be visible while in editor. Otherwise, [ReferenceRect] will be visible in game.
</member>
</members>
<constants>