new Cesium.CorridorGeometryUpdater(entity, scene)

A GeometryUpdater for corridors. 客户端通常不直接创建此类,而是依赖 DataSourceDisplay .
Name Type Description
entity Entity 包含可视化几何的实体.
scene Scene 出现视觉的场景.

Methods

createFillGeometryInstance(time)GeometryInstance

创建代表几何填充的几何实例.
Name Type Description
time JulianDate 检索初始属性值时使用的时间 .
Returns:
代表几何中填充部分的几何实例.
Throws:
  • DeveloperError : This instance does not represent a filled geometry.

createOutlineGeometryInstance(time)GeometryInstance

创建几何实例,代表几何的轮廓.
Name Type Description
time JulianDate 检索初始属性值时使用的时间 .
Returns:
代表几何的大纲部分的几何实例.
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.