简体   繁体   中英

How to display directions in Viewer Cube in Autodesk Forge Viewer

I have a simple question regarding the Autodesk Forge Viewer 3D. All the Models have a ViewCube at the top right of the Viewer which makes it easy to orbit around the model. Suppose if a user is dealing with a model which is related to a real life structure or a building then shouldn't there be a direction indicator for the ViewCube? If there is such option, how to enable or code for it in Autodesk Forge Viewer.

I have attached a screen shot of a ViewCube taken form Autodesk Design Review. I need a similar ViewCube in Autodesk Forge Viewer as well.

Autodesk Design Review中ViewCube的图像

This is a known request and wishlist item logged as LMV-2837 , but it hasn't been implemented yet so far. Unfortunately, ViewCube API doesn't be exposed, so you cannot either make it yourself. Apologizing for any inconvenience caused.

Currently, there is a function GuiViewer3D#showViewCubeTriad for showing the three base axis (XYZ) on the bottom of the ViewCube .

viewer.showViewCubeTriad( true );

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM