Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LineEdgesRenderer

LineEdgesRenderer for LineMeshes to remove unnecessary triangulation

Hierarchy

Implements

Index

Constructors

constructor

  • This constructor turns off auto generating edges line in Edges Renderer to make it here.

    Parameters

    • source: AbstractMesh

      LineMesh used to generate edges

    • Optional epsilon: number

      not important (specified angle for edge detection)

    • Optional checkVerticesInsteadOfIndices: boolean

      not important for LineMesh

    Returns LineEdgesRenderer

Properties

customInstancesSearch playground for customInstances

customInstances: SmartArray<Matrix>

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

edgesWidthScalerForOrthographicSearch playground for edgesWidthScalerForOrthographic

edgesWidthScalerForOrthographic: number

Define the size of the edges with an orthographic camera

edgesWidthScalerForPerspectiveSearch playground for edgesWidthScalerForPerspective

edgesWidthScalerForPerspective: number

Define the size of the edges with a perspective camera

isEnabledSearch playground for isEnabled

isEnabled: boolean

Gets or sets a boolean indicating if the edgesRenderer is active

Accessors

lineShader

linesIndices

  • get linesIndices(): Immutable<Array<number>>

linesNormals

  • get linesNormals(): Immutable<Array<number>>

linesPositions

  • get linesPositions(): Immutable<Array<number>>

Methods

_generateEdgesLinesSearch playground for _generateEdgesLines

  • _generateEdgesLines(): void
  • Generate edges for each line in LinesMesh. Every Line should be rendered as edge.

    Returns void

disposeSearch playground for dispose

  • dispose(): void

isReadySearch playground for isReady

  • isReady(): boolean
  • Checks whether or not the edges renderer is ready to render.

    Returns boolean

    true if ready, otherwise false.

renderSearch playground for render

  • render(): void

Legend

  • Constructor
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Property
  • Method
  • Static property
  • Static method