You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
<!DOCTYPE html>
< html lang = "zh" >
< head >
< meta charset = "utf-8" / >
< base href = "../../../" / >
< script src = "page.js" > < / script >
< link type = "text/css" rel = "stylesheet" href = "page.css" / >
< / head >
< body >
< h1 > 相机工具([name])< / h1 >
< p class = "desc" >
包含用于相机操作的有用实用函数的类。
< / p >
< h2 > 导入< / h2 >
< p >
[name] 是一个附加组件,必须显式导入。请参阅 [link:#manual/introduction/Installation Installation / Addons].
< / p >
< code >
import * as CameraUtils from 'three/addons/utils/CameraUtils.js';
< / code >
< h2 > 方法< / h2 >
< h3 > [method:undefined frameCorners]( [param:PerspectiveCamera camera], [param:Vector3 bottomLeftCorner],
[param:Vector3 bottomRightCorner], [param:Vector3 topLeftCorner], [param:boolean estimateViewFrustum] )< / h3 >
< p >
使用 [link:https://web.archive.org/web/20191110002841/http://csc.lsu.edu/~kooima/articles/genperspective/index.html
Kooima 广义透视投影公式].
注意:此功能忽略标准参数;在此之后不要调用 updateProjectionMatrix() ! toJSON也不会捕获此函数生成的离轴矩阵。
< / p >
< h2 > 源代码< / h2 >
< p >
[link:https://github.com/mrdoob/three.js/blob/master/examples/jsm/utils/CameraUtils.js examples/jsm/utils/CameraUtils.js]
< / p >
< / body >
< / html >