Search Results for

    Show / Hide Table of Contents

    Class RendererBackground

    Renders the background grid. Both the hexagonal grid and the graph view are supported.

    Inheritance
    object
    RendererBackground
    Namespace: AS2.Visuals
    Assembly: .dll
    Syntax
    public class RendererBackground

    Fields

    | Edit this page View Source

    instancedDrawer_circGrid_horLines

    Declaration
    private InstancedDrawer instancedDrawer_circGrid_horLines
    Field Value
    Type Description
    InstancedDrawer
    | Edit this page View Source

    instancedDrawer_cricGrid_diaLines

    Declaration
    private InstancedDrawer instancedDrawer_cricGrid_diaLines
    Field Value
    Type Description
    InstancedDrawer
    | Edit this page View Source

    instancedDrawer_hexGrid

    Declaration
    private InstancedDrawer instancedDrawer_hexGrid
    Field Value
    Type Description
    InstancedDrawer
    | Edit this page View Source

    mesh_circ_bgDiaBLTR

    Declaration
    private Mesh mesh_circ_bgDiaBLTR
    Field Value
    Type Description
    Mesh
    | Edit this page View Source

    mesh_circ_bgDiaBRTL

    Declaration
    private Mesh mesh_circ_bgDiaBRTL
    Field Value
    Type Description
    Mesh
    | Edit this page View Source

    mesh_circ_bgHor

    Declaration
    private Mesh mesh_circ_bgHor
    Field Value
    Type Description
    Mesh
    | Edit this page View Source

    mesh_hex_hexGrid

    Declaration
    private Mesh mesh_hex_hexGrid
    Field Value
    Type Description
    Mesh

    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()
    • Edit this page
    • View Source
    In this article
    Back to top AmoebotSim 2.0 Documentation v1.11
    Copyright © 2025 AmoebotSim 2.0 Authors
    Generated by DocFX