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 是否为几何实例计算模型矩阵
modelMatrixResult Matrix4 optional 用于存储模型矩阵计算结果
Returns:
表示几何体填充部分的几何实例。
Throws:

createOutlineGeometryInstance(time, skipModelMatrix, modelMatrixResult)GeometryInstance

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