refreshUniformsLine method

dynamic refreshUniformsLine(
  1. dynamic uniforms,
  2. dynamic material
)

Implementation

refreshUniformsLine(uniforms, material) {
  uniforms["diffuse"]["value"].copy(material.color);
  uniforms["opacity"]["value"] = material.opacity;
}