Scene
See Scene.ts and THREE.Scene.
Name | Description | Type | Default |
---|---|---|---|
background | Background color. | String, Number |
TIP
If you need a transparent renderer, you should use alpha
on the renderer.
Access ThreeJS scene
You should set a ref on the scene :
<Scene ref="scene">
...
</Scene>
You can then access ThreeJS scene in your component script :
const scene = this.$refs.scene.scene;