Change color of the Axes

Hi everybody,

Is it possible to change the colors of the AxesViewer and the gizmos connected to the meshes ?

Thanks for your answers,

Boris

It is not exposed publicly but I guess you could at the moment do smthg like this:

axesViewer.xAxis.getChildMeshes().forEach(m => m.material...)

We d happily accept a PR to open the code for modification if you want ?

1 Like

Thanks for your answer, it works well.

And for the gizmos, is it the same way ? I’m able to create a simple AxisDrag Gizmo with its color but i cannot change the color for the default gizmos.

I’d like to change the code for the AxesViewer but i’m not sure i will be able to do it. I don’t want to break anything.

Thanks anyway for your answer.

Boris