How to modify the style of the HoopsVisualize navigation cube, such as face color, font, etc

I modified it using the following code and it didn’t work,

Hello @Rui.Zhang03 ,

To change the face colors/style of the nav cube, you’ll want to define a material palette and then apply that material pallette using the following function:


For a full code example for how to do this please see this documentation: View Hierarchy — HOOPS Visualize HPS 2023 SP2 U2 Documentation

You’ll also find a code sample for changing the text on the faces of the cube.

Hope this helps.

– Rob

1 Like