New issue
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
How do I get a threejs object? #533
Comments
Add <template>
...
<vgl-mesh ref="ground1" geometry="ground" material="groundMaterial" :rotation="rotation"></vgl-mesh>
...
</template>
<script>
export default {
mounted() {
console.log(this.$refs.ground1.inst)
}
}
</script> |
I dont't want to it that way. Can't I use vglNamespace to get it? |
Why not assign the name of the component to the name attribute of the threejs object? |
Oh, you can. <vgl-renderer ref="namespace" name="renderer" camera="camera" antialias style="height: 100%"> Could this be your way ? |
How do I get a threejs mesh and sprite object?
Thanks advance:)
The text was updated successfully, but these errors were encountered: