API

Class LineEdgesRenderer

LineEdgesRenderer for LineMeshes to remove unnecessary triangulation

Hierarchy (View Summary)

Index
customInstances: SmartArray<Matrix> = ...

List of instances to render in case the source mesh has instances

edgesWidthScalerForOrthographic: number = 1000.0

Define the size of the edges with an orthographic camera

edgesWidthScalerForPerspective: number = 50.0

Define the size of the edges with a perspective camera

isEnabled: boolean = true

Gets or sets a boolean indicating if the edgesRenderer is active

  • Checks whether or not the edges renderer is ready to render.

    Parameters

    • OptionaluseInstances: boolean

      Defines whether the instanced shader variant should be checked. If omitted, the current rendering state is used.

    Returns boolean

    true if ready, otherwise false.