Fork me on GitHub

threejs-显示帮助

照相机:

shadowCameraHelper = new THREE.CameraHelper(camera);
scene.add(shadowCameraHelper)

 

灯光:

lightHelper = new THREE.SpotLightHelper( spotLight,0x000000 );
scene.add(lightHelper)

  

坐标轴:

cene.add(new THREE.AxesHelper(300,300));

  

posted @ 2022-03-03 15:59  zhang_yx  阅读(76)  评论(0编辑  收藏  举报