LineMaterial constructor

LineMaterial(
  1. dynamic parameters
)

Implementation

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