Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Draws a bounded graph-space grid through the current UI drawing context.

API: engine
Project: Inno.Editor.Graph.ImGui

public void Inno.Editor.Graph.ImGui.GraphCanvasView.DrawGrid(uint color, float spacing = 32)

Parameter color: The packed presentation color.

Parameter spacing: Positive graph-space grid spacing.

Exception T:System.ArgumentOutOfRangeException: Spacing is nonpositive or nonfinite.