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

**URL:** <https://forum.techsoft3d.com/t/how-to-modify-the-style-of-the-hoopsvisualize-navigation-cube-such-as-face-color-font-etc/2871>\
**Category:** HOOPS Visualize Desktop\
**Created:** [November 10, 2023, 10:22am UTC](https://forum.techsoft3d.com/t/how-to-modify-the-style-of-the-hoopsvisualize-navigation-cube-such-as-face-color-font-etc/2871 "2023-11-10T10:22:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rui.Zhang03](https://avatars.discourse-cdn.com/v4/letter/r/898d66/32.png) [@Rui.Zhang03](https://forum.techsoft3d.com/u/Rui.Zhang03)\
**Post date:** [November 10, 2023, 10:22am UTC](https://forum.techsoft3d.com/t/how-to-modify-the-style-of-the-hoopsvisualize-navigation-cube-such-as-face-color-font-etc/2871/1 "2023-11-10T10:22:03Z")

</div>

I modified it using the following code and it didn’t work，  
view.GetNavigationCubeControl().GetSegmentKey().GetMaterialMappingControl().SetFaceColor(cubeColor)

---

<div class="post-metadata">

**Author:** ![rtadlock](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.techsoft3d.com/rtadlock/32/14_2.png) [@rtadlock](https://forum.techsoft3d.com/u/rtadlock)\
**Post date:** [November 10, 2023, 4:33pm UTC](https://forum.techsoft3d.com/t/how-to-modify-the-style-of-the-hoopsvisualize-navigation-cube-such-as-face-color-font-etc/2871/2 "2023-11-10T16:33:59Z")

</div>

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:

myView.GetNavigationCubeControl().SetMaterialPalette(“my\_material”);

For a full code example for how to do this please see this documentation: [View Hierarchy — HOOPS Visualize HPS 2023 SP2 U2 Documentation](https://docs.techsoft3d.com/hps/latest/prog_guide/0301_core.html#customizing-the-navigation-cube)

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

Hope this helps.

– Rob
