Search Results for

    Show / Hide Table of Contents

    Line Batch


    Billboards header

    Linebatch is very useful when you need to create a huge number of lines in your scene, for example, for dummy objects or helpers. The most interesting thing about this feature is that all the lines you create are batched into a single draw call, allowing you to achieve good performance.

    This feature is only available from code. You can find LineBatch3D and LineBatch2D in the scene RenderManager.

    The lines are composed of two vertices and an edge, so you cannot control the thickness of the lines. If you want to draw thicker lines, see the Line3D.

    In this section

    • Using Linebatch
    • Create custom Linebatch
    In this article
    Back to top
    Generated by DocFX