Skip to content

MarkShapeBatch

ClassChartGuruChartGuru
public sealed class MarkShapeBatch

Result of ChartGuru.ChartMarkProjector.Project(ChartGuru.Chart%2cChartGuru.ChartType%2cChartGuru.ChartLayoutEngine%2cUnityEngine.Rect%2cChartGuru.IMarkColorResolver%2cChartGuru.MarkShapeBatch%2cChartGuru.ChartMarkProjector.Scratch): a complete description of one chart-type’s marks in screen space, decoupled from the per-type renderer. Used by ChartGuru.ChartMorphRenderer to interpolate between source and target during a Semantic morph.

public ChartType Type

Returns

ChartGuru.ChartType

public Rect PlotArea

Returns

UnityEngine.Rect

public List<MarkShape> Marks

Returns

System.Collections.Generic.List{ChartGuru.MarkShape}

public List<PolylineTopology> Polylines

Returns

System.Collections.Generic.List{ChartGuru.PolylineTopology}

public Vector2 RadialCenter

Returns

UnityEngine.Vector2

public float RadialOuterRadius

Returns

System.Single

public static readonly MarkShapeBatch Empty

Returns

ChartGuru.MarkShapeBatch

public void Clear()

Resets chart and radial context and clears all retained mark and polyline data for batch reuse.

public MarkShapeBatch()