ReferenceRect

Inherits: Control < CanvasItem < Node < Object

Reference frame for GUI.

Description

A rectangle box that displays only a border_color border color around its rectangle. ReferenceRect has no fill Color.

Properties

Colorborder_colorColor( 1, 0, 0, 1 )
booleditor_onlytrue

Property Descriptions

DefaultColor( 1, 0, 0, 1 )
Setterset_border_color(value)
Getterget_border_color()

Sets the border Color of the ReferenceRect.


Defaulttrue
Setterset_editor_only(value)
Getterget_editor_only()

If set to true, the ReferenceRect will only be visible while in editor. Otherwise, ReferenceRect will be visible in game.

Doc ID missing

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 1970-01-01 at 00:00:00. It’s the English Stable version because it’s what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.