I am working on a Lightroom Classic plugin that requires to set the White Balance of the image from a known point. So I searched for a way to set / use the White Balance Eyedropper via the Lua SDK, but unfortunately I couldn't figure it out and wasn't able to find anything in the documentation. The only function I found was LrDevelopController.setAutoWhiteBalance(), but it will calculate something like a mean White Balance and I have no controll over the white point. (I also tried to crop the image first, but the function still uses all of the image to calculate the white balance :/)
Does someone know, if there is any way to white balance the image via Lua with more control / for a given point?