refreshUniformsMatcap method

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

Implementation

void refreshUniformsMatcap(Map<String, dynamic> uniforms, Material material) {
  if (material.matcap != null) {
    uniforms["matcap"]["value"] = material.matcap;
  }
}