public void SetLut(LutPreset preset) { double [] range = { 0.0, 1.0 }; if (colorArray != null) { range = colorArray.GetRange(); } else { Debug.Log("VtkToUnity.SetLut(): No color array set!"); } SetLut(preset, range[0], range[1]); }