We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a custom scene class and want to use it in r3f instead of the default scene.
From the Canvas documentation, it seems this should work: <Canvas scene={new MyScene()} />
<Canvas scene={new MyScene()} />
However, this is not working. I examined the code, and web/Canvas.tsx does not pass in the scene prop to root.configure().
web/Canvas.tsx
root.configure()
If this is intentional, what is currently the best way to use a custom class that derives from THREE.Scene?
The text was updated successfully, but these errors were encountered:
It was an oversight this wasn't possible without a custom canvas. Fixed in v8.13.7.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I have a custom scene class and want to use it in r3f instead of the default scene.
From the Canvas documentation, it seems this should work:
<Canvas scene={new MyScene()} />
However, this is not working. I examined the code, and
web/Canvas.tsx
does not pass in the scene prop toroot.configure()
.If this is intentional, what is currently the best way to use a custom class that derives from THREE.Scene?
The text was updated successfully, but these errors were encountered: