Replies: 1 comment 3 replies
-
https://deck.gl/docs/developer-guide/interactivity#externally-manage-view-state |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I want to synchronize a 3d viewport with deck.gl viewport. I do not want the camera to be controlled by deck.gl, so I need a way to update the view of deck.gl.
My current approach is:
But this has no effect on the deck canvas. It just stays as it is. But deck.props.onAfterRender definitely logs the redraw.
How could i update the first person view and tell deck to redraw the canvas?
Let me know if you need more information. Thanks!
Edit:
Hm this seems to work, but it is weird to set it this way.
deck.getViewports()[0] = fpViewport
Beta Was this translation helpful? Give feedback.
All reactions