包含用于相机操作的有用实用函数的类。
[name] 是一个附加组件,必须显式导入。请参阅 [link:#manual/introduction/Installation Installation / Addons].
import * as CameraUtils from 'three/addons/utils/CameraUtils.js';
使用 [link:https://web.archive.org/web/20191110002841/http://csc.lsu.edu/~kooima/articles/genperspective/index.html Kooima 广义透视投影公式]. 注意:此功能忽略标准参数;在此之后不要调用 updateProjectionMatrix() ! toJSON也不会捕获此函数生成的离轴矩阵。
[link:https://github.com/mrdoob/three.js/blob/master/examples/jsm/utils/CameraUtils.js examples/jsm/utils/CameraUtils.js]