How do I resize the AXIS icon and NAVCUBE in HOOPS Communicator
1 Like
You can do this by changing the size of the overlay that the NavCube and Axis Triad are drawn in. See below for an example that increases the size of the NavCube based on its overlay index:
hwv.overlayManager.setViewport(Communicator.BuiltinOverlayIndex.NavCube,
Communicator.OverlayAnchor.UpperRightCorner,
0,Communicator.OverlayUnit.ProportionOfCanvas,
0,Communicator.OverlayUnit.ProportionOfCanvas,
0.4,Communicator.OverlayUnit.ProportionOfCanvas
,0.4,Communicator.OverlayUnit.ProportionOfCanvas)
More information on Overlays can be found here:
https://docs.techsoft3d.com/communicator/latest/build/prog_guide/viewing/scene_attributes/overlays.html
1 Like