EllipsoidGeometryUpdater

new Cesium.EllipsoidGeometryUpdater(entity, scene)

GeometryUpdater 对于椭球体。 客户端通常不会直接创建此类,而是依赖于 DataSourceDisplay.
Name Type Description
entity Entity 包含要可视化的几何体的实体。
scene Scene 正在进行可视化的场景。

Methods

createFillGeometryInstance(time, skipModelMatrix, modelMatrixResult)GeometryInstance

创建表示几何图形填充的几何实例。
Name Type Default Description
time JulianDate 检索初始属性值时使用的时间。
skipModelMatrix boolean false optional 是否计算 geometry 实例的模型矩阵
modelMatrixResult Matrix4 optional 用于存储模型矩阵计算的结果
Returns:
表示几何体的填充部分的 geometry 实例。
Throws:
  • DeveloperError : This instance does not represent a filled geometry.

createOutlineGeometryInstance(time, skipModelMatrix, modelMatrixResult)GeometryInstance

创建表示几何轮廓的几何实例。
Name Type Default Description
time JulianDate 检索初始属性值时使用的时间。
skipModelMatrix boolean false optional 是否计算 geometry 实例的模型矩阵
modelMatrixResult Matrix4 optional 用于存储模型矩阵计算的结果
Returns:
表示几何体轮廓部分的 geometry 实例。
Throws:
  • DeveloperError : This instance does not represent an outlined geometry.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.