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
Fields
AreaId
Area ID under the mouse cursor (from Rust hit_test).
public readonly uint AreaId
Field Value
Col
Current terminal column under the mouse.
public readonly int Col
Field Value
IsInside
True if the mouse is currently over the terminal texture.
public readonly bool IsInside
Field Value
Outside
public static readonly TerminalHoverState Outside
Field Value
Row
Current terminal row under the mouse.
public readonly int Row
Field Value
Methods
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.