Parameters
- value
- The value to return the color for
//var voxelLayer = ... ; //Must be on the QueuedTask.Run() //var variable = ...; //var surface = ...; if (surface.IsCustomColor) { surface.Color = variable.GetIsosurfaceColor((double)surface.Value); surface.IsCustomColor = false; //update the surface variable.UpdateIsosurface(surface); }
Target Platforms: Windows 11, Windows 10