English中文

EllipsoidGeometryUpdater

new Cesium.EllipsoidGeometryUpdater(entity, scene)

A GeometryUpdater 对于椭球体。客户端通常不会直接创建此类,而是依赖 for ellipsoids. Clients do not normally create this class directly, but instead rely on DataSourceDisplay.
名称 Name 类型 Type 说明 Description
entity Entity 包含要可视化的几何图形的实体。 The entity containing the geometry to be visualized.
scene Scene 可视化发生的场景。 The scene where visualization is taking place.

方法 Methods

createFillGeometryInstance(time, skipModelMatrix, modelMatrixResult)GeometryInstance

创建表示几何体填充的几何体实例。 Creates the geometry instance which represents the fill of the geometry.
名称 Name 类型 Type 默认值 Default 说明 Description
time JulianDate 检索初始属性值时使用的时间。 The time to use when retrieving initial attribute values.
skipModelMatrix boolean false 可选 optional 是否计算几何实例的模型矩阵 Whether to compute a model matrix for the geometry instance
modelMatrixResult Matrix4 可选 optional 用于存储模型矩阵计算的结果 Used to store the result of the model matrix calculation
返回: Returns:
表示几何体填充部分的几何体实例。 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.
名称 Name 类型 Type 默认值 Default 说明 Description
time JulianDate 检索初始属性值时使用的时间。 The time to use when retrieving initial attribute values.
skipModelMatrix boolean false 可选 optional 是否计算几何实例的模型矩阵 Whether to compute a model matrix for the geometry instance
modelMatrixResult Matrix4 可选 optional 用于存储模型矩阵计算的结果 Used to store the result of the model matrix calculation
返回: Returns:
表示几何体轮廓部分的几何体实例。 The geometry instance representing the outline portion of the 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.