How to change the background color of the model? - Viewer V3

Hello,

We are trying to change the background color of the model through the API using version 3, but we can’t figure out how to set this.

In a standard model view session, update the background color to black like this:

SDV.api.viewers["model-view-viewer"].clearColor="#000000";

Replace "model-view-viewer" with the id of your viewer object if you created a custom one.
Read more about the viewer object in our documentation.