Skip to content

How to hide the rotate view cube? #87

Answered by hl662
wanwanshi-tt asked this question in Q&A
Discussion options

You must be logged in to vote

Hello! In the sample you are viewing, inside of CustomToolbarFrontstage.ts, there's a CustomToolbarFrontstageProps defined, which is used to initialize the default frontstage provided in that sample. Within that exported CustomToolbarFrontstageProps interface, there's a property called hideNavigationAid, which lets you disable that navigation cube. You can switch the flag to true, and you'll see the navigational cube disappear. You can read more about customizing a viewer's frontstage at StandardFrontstageProps

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wanwanshi-tt
Comment options

Answer selected by wanwanshi-tt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants