classOrthographicFrustum extends Object with Frustum
The viewing frustum is defined by 6 planes.
Each plane is represented by a Cartesian4 object, where the x, y, and z components
define the unit vector normal to the plane, and the w component is the distance of the
plane from the origin/camera position.
The viewing frustum is defined by 6 planes. Each plane is represented by a Cartesian4 object, where the x, y, and z components define the unit vector normal to the plane, and the w component is the distance of the plane from the origin/camera position.
alias OrthographicFrustum
var maxRadii = ellipsoid.maximumRadius; var frustum = new Cesium.OrthographicFrustum(); frustum.right = maxRadii * Cesium.Math.PI; frustum.left = -c.frustum.right; frustum.top = c.frustum.right * (canvas.clientHeight / canvas.clientWidth); frustum.bottom = -c.frustum.top; frustum.near = 0.01 * maxRadii; frustum.far = 50.0 * maxRadii;