Synced
GraphCanvasView.DrawGrid
Section titled “GraphCanvasView.DrawGrid”
- Draws a bounded graph-space grid through the current UI drawing context.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Graph.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public void InnoEditor.Graph.GraphCanvasView.DrawGrid(uint color, float spacing = 32)Parameters
Section titled “Parameters”Parameter color: The packed presentation color.
Parameter spacing: Positive graph-space grid spacing.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentOutOfRangeException: Spacing is nonpositive or nonfinite.