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
Hi. Thank you for this awesome library. I have a question. How can I add additional lights? I want to implement three.js example
p.s. can i somehow get current scene?
The text was updated successfully, but these errors were encountered:
@alphaCastor
How can I add additional lights?
You can pass :obj prop into components to override like
:obj
<light :obj="myLight1"></light> <light :obj="myLight2"></light> <light :obj="myLight3"></light>
can i somehow get current scene?
Also, :obj.sync, @update:obj would provide a way to get the obj, like
:obj.sync
@update:obj
vue-threejs/examples/Ocean.vue
Line 3 in 4a44809
<scene :obj.sync="sceneObj"></scene><!-- watch: sceneObj --> <scene @update:obj="handleSceneObj"></scene>
Cheers! 🍻
Sorry, something went wrong.
No branches or pull requests
Hi. Thank you for this awesome library. I have a question. How can I add additional lights? I want to implement three.js example
p.s. can i somehow get current scene?
The text was updated successfully, but these errors were encountered: