Class: Lines

Lines() → {Lines}

new Lines() → {Lines}

Provides an object which stores lines. This is created when a valid json file containing lines is read into a Zinc.Scene object.
Author:
  • Alan Wu
Source:
Returns:
Type
Lines

Methods

createLineSegment(geometryIn, materialIn, options)

Create the line segements using geometry and material.
Parameters:
Name Type Description
geometryIn THREE.Geomtry Geometry of lines to be rendered.
materialIn THREE.Material Material to be set for the lines.
options Object Provide various options
Properties
Name Type Description
localTimeEnabled Boolean A flag to indicate either the lines is time dependent.
localMorphColour Boolean A flag to indicate either the colour is time dependent.
Source:

setWidth(width)

Set the width for the lines.
Parameters:
Name Type Description
width Number Width of the lines.
Source: