Is there a built-in way to customize the appearance of the NavCube and AxisTriad, such as changing their colors, transparency, labels, or style?
Hello @praful.bharate,
There is not an interface to customize the appearance of the AxisTriad. With respect to the NavCube customization, there is a proof-of-concept implementation based on the NavCube source code. Please refer to this previous post:
Thanks,
Tino
Hi @tino ,
Thank you for sharing the details. I have reviewed the POC and wanted to ask if it’s possible to provide the TypeScript files instead of the JavaScript version for CustomNavCube.js
. Additionally, could you confirm whether this code is compatible with the latest version of HOOPS Communicator?
Hello @praful.bharate,
A TypeScript version is not available for CustomNavCube.js
.
Only minor changes are required to the JavaScript file are required in order to use it for recent Communicator versions:
Communicator.OverlayUnitPoint
becomesCommunicator.Overlay.OverlayUnitPoint
- Add
import * as Communicator from "./your_directory_to/hoops-web-viewer.mjs";
Thanks,
Tino
Thankyou @tino for the suggestions.