Apply a scalar-range update to a material's colormap uniforms.
Records [min, max] on material.userData.scalarRange so later
code can inspect the range without touching uniforms.
Materials that don't implement ColormapAwareMaterial are
silently ignored. The userData.scalarRange is still recorded
— it's the public "what was the last range" record regardless
of whether the material actually rendered with a colormap.
Apply a scalar-range update to a material's colormap uniforms. Records
[min, max]onmaterial.userData.scalarRangeso later code can inspect the range without touching uniforms.Materials that don't implement
ColormapAwareMaterialare silently ignored. TheuserData.scalarRangeis still recorded — it's the public "what was the last range" record regardless of whether the material actually rendered with a colormap.