Skip to content
Discussion options

You must be logged in to vote

Hi,
VtkWebXRHelper doesn't take a view in its parameters. In your example, the view is read as the positional ref argument, you should remove it. To make the VtkWebXRHelper aware of which view it should use, you must use the with syntax like so:

view = vtk.VtkLocalView(renderWindow)
with view:
    webxr = vtk.VtkWebXRHelper(show_button=True, show_controller=True)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@munozco
Comment options

Answer selected by FireDragonGameStudio
@FireDragonGameStudio
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants