LineMaterial constructor

LineMaterial(
  1. dynamic parameters
)

Implementation

LineMaterial(parameters)
    : super({
        "uniforms": UniformsUtils.clone(shaderLibLine["uniforms"]),
        "vertexShader": shaderLibLine["vertexShader"],
        "fragmentShader": shaderLibLine["fragmentShader"],
        "clipping": true // required for clipping support
      }) {
  type = 'LineMaterial';
  setValues(parameters);
}