Something like:
_r.on(_r.scene.activeCamera, 'move', () => { console.log('moved !!!'); });
And maybe an option to set if it's for:
- position only
- rotation only
- both (default)
_r.on(_r.scene.activeCamera, 'move', () => { console.log('moved !!!'); }, "ROTATION_ONLY");
Something like:
_r.on(_r.scene.activeCamera, 'move', () => { console.log('moved !!!'); });And maybe an option to set if it's for:
_r.on(_r.scene.activeCamera, 'move', () => { console.log('moved !!!'); }, "ROTATION_ONLY");