new Cesium.CullingVolume(planes)

飞机所定义的震荡体积.
Name Type Description
planes Array.<Cartesian4> optional 一系列剪辑飞机.

Members

planes : Array.<Cartesian4>

每个平面由 Cartesian4 对象表示,其中 x, y, 和 z 组件 定义平面正常的单位矢量, w 组件是 飞机从源.
Default Value: []

Methods

static Cesium.CullingVolume.fromBoundingSphere(boundingSphere, result)CullingVolume

从边框构造一个圆柱体。 创建一个包含球体的框 . 飞机与世界坐标中的x,y,和z轴对齐.
Name Type Description
boundingSphere BoundingSphere 用于创建 culling 音量的边框 .
result CullingVolume optional 存储结果的对象 .
Returns:
由边界球体创造的圆圈体积.

computeVisibility(boundingVolume)Intersect

确定一个边框音量是否与调音量相交.
Name Type Description
boundingVolume object 其与曲折音量相交的边框音量有待测试.
Returns:
Intersect.OUTSIDE, Intersect.INTERSECTING, or Intersect.INSIDE.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.