Class RendererBackground
Renders the background grid. Both the hexagonal grid and the graph view are supported.
Inheritance
object
RendererBackground
Assembly: .dll
Syntax
public class RendererBackground
Fields
|
Edit this page
View Source
instancedDrawer_circGrid_horLines
Declaration
private InstancedDrawer instancedDrawer_circGrid_horLines
Field Value
|
Edit this page
View Source
instancedDrawer_cricGrid_diaLines
Declaration
private InstancedDrawer instancedDrawer_cricGrid_diaLines
Field Value
|
Edit this page
View Source
instancedDrawer_hexGrid
Declaration
private InstancedDrawer instancedDrawer_hexGrid
Field Value
|
Edit this page
View Source
mesh_circ_bgDiaBLTR
Declaration
private Mesh mesh_circ_bgDiaBLTR
Field Value
|
Edit this page
View Source
mesh_circ_bgDiaBRTL
Declaration
private Mesh mesh_circ_bgDiaBRTL
Field Value
|
Edit this page
View Source
mesh_circ_bgHor
Declaration
private Mesh mesh_circ_bgHor
Field Value
|
Edit this page
View Source
mesh_hex_hexGrid
Declaration
private Mesh mesh_hex_hexGrid
Field Value
Methods
|
Edit this page
View Source
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.
|
|
Edit this page
View Source
Render_Circular()
Renders the triangular grid background with instanced drawing.
Declaration
private void Render_Circular()
|
Edit this page
View Source
Render_Hexagonal()
Renders the hexagonal grid background with instanced drawing.
Declaration
private void Render_Hexagonal()