2017-09-13 04:42:36 +08:00
<?xml version="1.0" encoding="UTF-8" ?>
2022-02-14 21:18:53 +08:00
<class name= "ReferenceRect" inherits= "Control" version= "4.0" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2017-09-13 04:42:36 +08:00
<brief_description >
Reference frame for GUI.
</brief_description>
<description >
2020-10-20 01:18:53 +08:00
A rectangle box that displays only a [member border_color] border color around its rectangle. [ReferenceRect] has no fill [Color]. If you need to display a rectangle filled with a solid color, consider using [ColorRect] instead.
2017-09-13 04:42:36 +08:00
</description>
<tutorials >
</tutorials>
2018-08-11 15:37:03 +08:00
<members >
2019-09-25 01:45:03 +08:00
<member name= "border_color" type= "Color" setter= "set_border_color" getter= "get_border_color" default= "Color(1, 0, 0, 1)" >
2019-06-25 17:00:32 +08:00
Sets the border [Color] of the [ReferenceRect].
</member>
2020-10-20 01:41:25 +08:00
<member name= "border_width" type= "float" setter= "set_border_width" getter= "get_border_width" default= "1.0" >
Sets the border width of the [ReferenceRect]. The border grows both inwards and outwards with respect to the rectangle box.
</member>
2019-06-29 18:38:01 +08:00
<member name= "editor_only" type= "bool" setter= "set_editor_only" getter= "get_editor_only" default= "true" >
2021-11-23 19:20:57 +08:00
If [code]true[/code], the [ReferenceRect] will only be visible while in editor. Otherwise, [ReferenceRect] will be visible in the running project.
2018-08-11 15:37:03 +08:00
</member>
</members>
2017-09-13 04:42:36 +08:00
</class>