Reference frame for GUI.
    public class ReferenceRect : Control

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

Inheritance Chain

Constructors

    public ReferenceRect()

Properties

    public Color BorderColor { get; set; }

Sets the border Color of the ReferenceRect.

    public bool EditorOnly { get; set; }

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

Methods

    [Obsolete("GetBorderColor is deprecated. Use the BorderColor property instead.")]
    public Color GetBorderColor()

Getter for BorderColor

    [Obsolete("GetEditorOnly is deprecated. Use the EditorOnly property instead.")]
    public bool GetEditorOnly()

Getter for EditorOnly

    [Obsolete("SetBorderColor is deprecated. Use the BorderColor property instead.")]
    public void SetBorderColor(Color color)

Setter for BorderColor

    [Obsolete("SetEditorOnly is deprecated. Use the EditorOnly property instead.")]
    public void SetEditorOnly(bool enabled)

Setter for EditorOnly

Tags: