function PolygonGeometryUpdater(entity, scene) {
  GroundGeometryUpdater.call(this, {
    entity: entity,
    scene: scene,
    geometryOptions: new PolygonGeometryOptions(entity),
    geometryPropertyName: "polygon",
    observedPropertyNames: ["availability", "polygon"],
  });

  this._onEntityPropertyChanged(entity, "polygon", entity.polygon, undefined);
}
A {@link GeometryUpdater} for polygons.
Clients do not normally create this class directly, but instead rely on {@link DataSourceDisplay}.
@alias PolygonGeometryUpdater
@constructor

@param {Entity} entity The entity containing the geometry to be visualized.
@param {Scene} scene The scene where visualization is taking place.