godot/doc/classes/ReferenceRect.xml
Zak d29b1b7917 Fix ReferenceRect node
ReferenceRect node by default was only displaying in the editor and not when the game is running.
2019-06-28 12:42:42 +03:00

24 lines
866 B
XML

<?xml version="1.0" encoding="UTF-8" ?>
<class name="ReferenceRect" inherits="Control" category="Core" 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">
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>
</constants>
</class>