new Cesium.FrustumGeometry(options)

描述给定起源和方向的节奏.
Name Type Description
options object 下列属性的对象 :
Name Type Default Description
frustum PerspectiveFrustum | OrthographicFrustum The frustum.
origin Cartesian3 Fr的起源.
orientation Quaternion 节节的走向.
vertexFormat VertexFormat VertexFormat.DEFAULT optional The vertex attributes to be computed.

Members

packedLength : number

用于将对象组合成数组的元素数量.

Methods

static Cesium.FrustumGeometry.createGeometry(frustumGeometry)Geometry|undefined

计算雀形花的几何表示,包括其顶点,指数,以及边框.
Name Type Description
frustumGeometry FrustumGeometry A description of the frustum.
Returns:
计算出的顶点和指数.

static Cesium.FrustumGeometry.pack(value, array, startingIndex)Array.<number>

将所提供的实例存储到所提供的数组中.
Name Type Default Description
value FrustumGeometry 包装的价值.
array Array.<number> 装入的阵列.
startingIndex number 0 optional The index into the array at which to start packing the elements.
Returns:
装入的阵列

static Cesium.FrustumGeometry.unpack(array, startingIndex, result)

从组合的数组中获取实例 .
Name Type Default Description
array Array.<number> 装填的阵列.
startingIndex number 0 optional The starting index of the element to be unpacked.
result FrustumGeometry optional 存储结果的对象.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.