ColorScaleLegendInfo
public struct ColorScaleLegendInfoInformation for rendering a continuous color scale legend bar (e.g. for heatmaps).
Fields
Section titled “Fields”
BarRect
Section titled “BarRect”public Rect BarRectScreen-space rectangle for the gradient bar.
Returns
UnityEngine.Rect — No return description is available.
public ColorScale ScaleThe color scale providing the gradient.
Returns
ChartGuru.ColorScale — No return description is available.
public List<(float value, float position, string label)> TicksTick values and their screen positions (Y for vertical, X for horizontal).
Returns
System.Collections.Generic.List{System.ValueTuple{System.Single,System.Single,System.String}} — No return description is available.
IsHorizontal
Section titled “IsHorizontal”public bool IsHorizontalWhether the bar is horizontal (bottom/top) or vertical (trailing/leading).
Returns
System.Boolean — No return description is available.
IsValid
Section titled “IsValid”public bool IsValidWhether this legend info is valid and should be rendered.
Returns
System.Boolean — No return description is available.