EllipsoidGeometryUpdater

new Cesium.EllipsoidGeometryUpdater(entity, scene)

A GeometryUpdater for ellipsoids. Clients do not normally create this class directly, but instead rely on DataSourceDisplay.
参数名称 类型 描述信息
entity Entity The entity containing the geometry to be visualized.
scene Scene The scene where visualization is taking place.

方法

createFillGeometryInstance(time, skipModelMatrix, modelMatrixResult)GeometryInstance

Creates the geometry instance which represents the fill of the geometry.
参数名称 类型 默认值 描述信息
time JulianDate The time to use when retrieving initial attribute values.
skipModelMatrix boolean false 可选 Whether to compute a model matrix for the geometry instance
modelMatrixResult Matrix4 可选 Used to store the result of the model matrix calculation
返回值:
The geometry instance representing the filled portion of the geometry.
Throws:
  • DeveloperError : This instance does not represent a filled geometry.

createOutlineGeometryInstance(time, skipModelMatrix, modelMatrixResult)GeometryInstance

Creates the geometry instance which represents the outline of the geometry.
参数名称 类型 默认值 描述信息
time JulianDate The time to use when retrieving initial attribute values.
skipModelMatrix boolean false 可选 Whether to compute a model matrix for the geometry instance
modelMatrixResult Matrix4 可选 Used to store the result of the model matrix calculation
返回值:
The geometry instance representing the outline portion of the geometry.
Throws:
  • DeveloperError : This instance does not represent an outlined geometry.