refreshUniformsLine method

void refreshUniformsLine(
  1. Map<String, dynamic> uniforms,
  2. Material material
)

Implementation

void refreshUniformsLine(Map<String, dynamic> uniforms, Material material) {
  uniforms["diffuse"]["value"].setFrom(material.color);
  uniforms["opacity"]["value"] = material.opacity;
}