summaryrefslogtreecommitdiff
path: root/doc/classes/ReferenceRect.xml
blob: d17b2a3a473bb9aaca3c0925b4900103b8160a69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8" ?>
<class name="ReferenceRect" inherits="Control" version="3.2">
	<brief_description>
		Reference frame for GUI.
	</brief_description>
	<description>
		A rectangle box that displays only a [member border_color] border color around its rectangle. [ReferenceRect] has no fill [Color].
	</description>
	<tutorials>
	</tutorials>
	<methods>
	</methods>
	<members>
		<member name="border_color" type="Color" setter="set_border_color" getter="get_border_color" default="Color( 1, 0, 0, 1 )">
			Sets the border [Color] of the [ReferenceRect].
		</member>
		<member name="editor_only" type="bool" setter="set_editor_only" getter="get_editor_only" default="true">
			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>
	</constants>
</class>