Table of Contents

Struct TerminalHoverState

Namespace
RatatuiUnity

Tracks the current mouse hover position in terminal coordinates. Updated every frame by RatatuiRenderer when mouse input is enabled.

public readonly struct TerminalHoverState
Inherited Members

Constructors

TerminalHoverState(int, int, uint, bool)

public TerminalHoverState(int col, int row, uint areaId, bool isInside)

Parameters

col int
row int
areaId uint
isInside bool

Fields

AreaId

Area ID under the mouse cursor (from Rust hit_test).

public readonly uint AreaId

Field Value

uint

Col

Current terminal column under the mouse.

public readonly int Col

Field Value

int

IsInside

True if the mouse is currently over the terminal texture.

public readonly bool IsInside

Field Value

bool

Outside

public static readonly TerminalHoverState Outside

Field Value

TerminalHoverState

Row

Current terminal row under the mouse.

public readonly int Row

Field Value

int

Methods

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.