我正在尝试调整颜色,但这似乎只适用于ImageView。有没有理由不在MeshView上工作?
Material material = new PhongMaterial(new Color(1, 0, 0, 1));
meshView.setMaterial(material);
ColorAdjust colorAdjust = new ColorAdjust();
colorAdjust.setContrast(0.5);
colorAdjust.setHue(-0.55);
colorAdjust.setBrightness(0.2);
colorAdjust.setSaturation(0.2);
meshView.setEffect(colorAdjust);