Class LineEdgesRenderer
Hierarchy
-
EdgesRenderer
- LineEdgesRenderer
Implements
Index
Constructors
Properties
Accessors
Methods
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
custom InstancesSearch playground for customInstances
List of instances to render in case the source mesh has instances
edges Width Scaler For OrthographicSearch playground for edgesWidthScalerForOrthographic
Define the size of the edges with an orthographic camera
edges Width Scaler For PerspectiveSearch playground for edgesWidthScalerForPerspective
Define the size of the edges with a perspective camera
is EnabledSearch playground for isEnabled
Gets or sets a boolean indicating if the edgesRenderer is active
Accessors
lines Indices
-
Gets the indices generated by the edge renderer
Returns Immutable<Array<number>>
lines Normals
-
Gets the normals generated by the edge renderer
Returns Immutable<Array<number>>
lines Positions
-
Gets the vertices generated by the edge renderer
Returns Immutable<Array<number>>
Methods
_generate Edges LinesSearch playground for _generateEdgesLines
-
Generate edges for each line in LinesMesh. Every Line should be rendered as edge.
Returns void
disposeSearch playground for dispose
-
Releases the required resources for the edges renderer
Returns void
is ReadySearch playground for isReady
-
Checks wether or not the edges renderer is ready to render.
Returns boolean
true if ready, otherwise false.
renderSearch playground for render
-
Renders the edges of the attached mesh,
Returns void
LineEdgesRenderer for LineMeshes to remove unnecessary triangulation