refreshUniformsDash method

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

Implementation

void refreshUniformsDash(Map<String, dynamic> uniforms, Material material) {
  uniforms["dashSize"]["value"] = material.dashSize;
  uniforms["totalSize"]["value"] = (material.dashSize ?? 0) + (material.gapSize ?? 0);
  uniforms["scale"]["value"] = material.scale;
}