Three.js - 飞行控制

这些是类似飞行模拟器的控制。使用键盘和鼠标移动和操纵。您可以在 3D 空间中任意变换相机,不受任何限制(例如,聚焦于特定目标)。

const controls = new THREE.FlyControls(camera, render.domElement)