它将会显示摄像机,包括摄像机的视锥体。
它使用[page:LineSegments](线段)来显示摄像机视锥体。
var camera = new THREE.PerspectiveCamera( 75, window.innerWidth / window.innerHeight, 0.1, 1000 );
var helper = new THREE.CameraHelper( camera );
scene.add( helper );
[page:Camera camera] -- 将会被CameraHelper可视化的相机。
为特定的摄像机创建一个新的 [Name]。
请参阅其基类[page:LineSegments]来查看共有属性。
将会被可视化的摄像机。
它包括了用于可视化相机的点。 This contains the points used to visualize the camera.
对[page:Object3D.matrixWorld camera.matrixWorld]的引用。
请参阅[page:Object3D.matrixAutoUpdate]。在这里将其设置为*false*,因为辅助工具使用的是 相机的[page:Object3D.matrixWorld matrixWorld]。
请参阅其基类[page:LineSegments]来查看共有方法。
基于摄像机的projectionMatrix(投影矩阵)来更新辅助工具。