Is there any API to receive it?
I tried:
// this.controls is a OrbitControls instance
this.controls.addEventListener("change", (event) => {
console.log(event);
})
But I cannot find where the zoom value is.
Is there any API to receive it?
I tried:
// this.controls is a OrbitControls instance
this.controls.addEventListener("change", (event) => {
console.log(event);
})
But I cannot find where the zoom value is.