I would like to change the linewidth of any mesh with DrawMode.LINE, but I don't know if it is possible.
I added some code for reference.
@Override
public void start(Stage primaryStage) throws Exception{
PerspectiveCamera camera= new PerspectiveCamera(true);
Group root = new Group();
Scene scene = new Scene(root, 1024, 768, true);
primaryStage.setScene(scene);
primaryStage.show();
scene.setFill(Color.BLACK);
camera.setFarClip(10000);
camera.setTranslateZ(-10);
scene.setCamera(camera);
Box box = new Box();
box.setDrawMode(DrawMode.LINE);
root.getChildren().addAll(camera,box);
}
public static void main(String[] args) {
launch(args);
}