JS_three.js禁用拖拽和缩放

controls = new THREE.OrbitControls( camera );
// to disable zoom
controls.enableZoom = false;
// to disable rotation
controls.enableRotate = false;
// to disable pan
controls.enablePan = false;

点光文档
https://threejs.org/docs/index.html?q=light#api/en/lights/PointLight

你可能感兴趣的:(#,UNI-APP,#,JS,javascript)