You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a developer using TresJS, I would like to change reactively the constructor params via args prop, which is not possible at the moment.
<scriptlang="ts"setup>// renderer.domElement is undefined at the beginning. </script><template><TresOrbitControls :args="[activeCamera || camera, renderer?.domElement || domElement]"/></template>
Suggested solution
Add logic to nodeOps to re-instance the THREE object when args change
Description
As a developer using TresJS, I would like to change reactively the constructor params via args prop, which is not possible at the moment.
Suggested solution
Add logic to
nodeOps
to re-instance the THREE object whenargs
changeAlternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: