Switch from 3D player to 2D and vice versa.
Hello,
In the UI, we have two tabs, one tab should show 3D player, but when switching to the other tab, it should show the 2D player. Switching back to the first tab should show the 3D player. Is there a way to achieve this using code/script?
Thanks
Comments
3 comments
Hi ShivWad - you will have to uninitialize & reinitialize the player with the `display: 'image'` parameter enabled.
Hey William,
We are using the threekit react dev kit. Is there any documentation for performing the uninitialization and reinitialization of the player.
Thanks.
If you are using Treble it may be a good approach to use Product Layout - will you let me know if these are helpful? https://developer.threekit.com/reference/treble-components-product-layout
Please sign in to leave a comment.