Class RendererBackground
Renders the background grid. Both the hexagonal grid and the graph view are supported.
Inheritance
RendererBackground
Assembly: .dll
Syntax
public class RendererBackground
Fields
instancedDrawer_circGrid_horLines
Declaration
private InstancedDrawer instancedDrawer_circGrid_horLines
Field Value
instancedDrawer_cricGrid_diaLines
Declaration
private InstancedDrawer instancedDrawer_cricGrid_diaLines
Field Value
instancedDrawer_hexGrid
Declaration
private InstancedDrawer instancedDrawer_hexGrid
Field Value
mesh_circ_bgDiaBLTR
Declaration
private Mesh mesh_circ_bgDiaBLTR
Field Value
mesh_circ_bgDiaBRTL
Declaration
private Mesh mesh_circ_bgDiaBRTL
Field Value
mesh_circ_bgHor
Declaration
private Mesh mesh_circ_bgHor
Field Value
mesh_hex_hexGrid
Declaration
private Mesh mesh_hex_hexGrid
Field Value
Methods
Render(ViewType)
Renders the background based on the current view.
Should be called in every frame.
Declaration
public void Render(ViewType viewType)
Parameters
Type |
Name |
Description |
ViewType |
viewType |
The view type that is
used to render the particle system. Influences
which type of background is rendered.
|
Render_Circular()
Renders the triangular grid background with instanced drawing.
Declaration
private void Render_Circular()
Render_Hexagonal()
Renders the hexagonal grid background with instanced drawing.
Declaration
private void Render_Hexagonal()