Skip to content

Interlude.Tick.Extra.DebugUI.BoundsIntField

interludesoftware.tick

Interlude.Tick.Extra.DebugUI

BoundsIntField Class

public static class BoundsIntField

Inheritance System.Object → BoundsIntField

Properties

BoundsIntField.Height Property

Total pixel height consumed by Do(UI, string, BoundsInt).

public static int Height { get; }

Property Value

System.Int32

Methods

BoundsIntField.Do(UI, string, BoundsInt) Method

Draws a two-row integer bounds editor: top row = Position X/Y/Z, bottom row = Size X/Y/Z. Returns true if the value changed.

public static bool Do(Interlude.Tick.UI ui, string id, ref BoundsInt value);

Parameters

ui UI

id System.String

value UnityEngine.BoundsInt

Returns

System.Boolean

BoundsIntField.DoLabelled(UI, string, string, BoundsInt) Method

Draws a labelled two-row integer bounds editor. Returns true if the value changed.

public static bool DoLabelled(Interlude.Tick.UI ui, string id, string label, ref BoundsInt value);

Parameters

ui UI

id System.String

label System.String

value UnityEngine.BoundsInt

Returns

System.Boolean