# PolylineVolumeGeometryUpdater

#### new Cesium.PolylineVolumeGeometryUpdater(entity, scene)
DataSources/PolylineVolumeGeometryUpdater.js 73

  A `GeometryUpdater` for polyline volumes. 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.

### Members

#### staticCesium.PolylineVolumeGeometryUpdater.materialAppearanceType : Appearance
DataSources/PolylineVolumeGeometryUpdater.js 114

  Gets the type of appearance to use for material-based geometry.

#### staticCesium.PolylineVolumeGeometryUpdater.perInstanceColorAppearanceType : Appearance
DataSources/PolylineVolumeGeometryUpdater.js 106

  Gets the type of appearance to use for simple color-based geometry.

#### readonlyentity : Entity
DataSources/PolylineVolumeGeometryUpdater.js 127

  Gets the entity associated with this geometry.

#### readonlyfillEnabled : Boolean
DataSources/PolylineVolumeGeometryUpdater.js 139

  Gets a value indicating if the geometry has a fill component.

#### readonlyfillMaterialProperty : MaterialProperty
DataSources/PolylineVolumeGeometryUpdater.js 166

  Gets the material property used to fill the geometry.

#### readonlygeometryChanged : Boolean
DataSources/PolylineVolumeGeometryUpdater.js 256

  Gets an event that is raised whenever the public properties of this updater change.

#### readonlyhasConstantFill : Boolean
DataSources/PolylineVolumeGeometryUpdater.js 151

  Gets a value indicating if fill visibility varies with simulation time.

#### readonlyhasConstantOutline : Boolean
DataSources/PolylineVolumeGeometryUpdater.js 190

  Gets a value indicating if the geometry has an outline component.

#### readonlyisClosed : Boolean
DataSources/PolylineVolumeGeometryUpdater.js 245

  Gets a value indicating if the geometry is closed. This property is only valid for static geometry.

#### readonlyisDynamic : Boolean
DataSources/PolylineVolumeGeometryUpdater.js 232

  Gets a value indicating if the geometry is time-varying. If true, all visualization is delegated to the `DynamicGeometryUpdater` returned by GeometryUpdater#createDynamicUpdater.

#### readonlyoutlineColorProperty : Property
DataSources/PolylineVolumeGeometryUpdater.js 205

  Gets the `Color` property for the geometry outline.

#### readonlyoutlineEnabled : Boolean
DataSources/PolylineVolumeGeometryUpdater.js 178

  Gets a value indicating if the geometry has an outline component.

#### readonlyoutlineWidth : Number
DataSources/PolylineVolumeGeometryUpdater.js 218

  Gets the constant with of the geometry outline, in pixels. This value is only valid if isDynamic is false.

### Methods

#### createDynamicUpdater(primitives) → DynamicGeometryUpdater
DataSources/PolylineVolumeGeometryUpdater.js 478

  Creates the dynamic updater to be used when GeometryUpdater#isDynamic is true.

  Name | Type | Description
  --- | --- | ---
  `primitives` | PrimitiveCollection | The primitive collection to use.

  ##### Returns:

  The dynamic updater used to update the geometry each frame.

  ##### Throws:

  - DeveloperError : This instance does not represent dynamic geometry.

#### createFillGeometryInstance(time) → GeometryInstance
DataSources/PolylineVolumeGeometryUpdater.js 293

  Creates the geometry instance which represents the fill of the geometry.

  Name | Type | Description
  --- | --- | ---
  `time` | JulianDate | The time to use when retrieving initial attribute values.

  ##### Returns:

  The geometry instance representing the filled portion of the geometry.

  ##### Throws:

  - DeveloperError : This instance does not represent a filled geometry.

#### createOutlineGeometryInstance(time) → GeometryInstance
DataSources/PolylineVolumeGeometryUpdater.js 342

  Creates the geometry instance which represents the outline of the geometry.

  Name | Type | Description
  --- | --- | ---
  `time` | JulianDate | The time to use when retrieving initial attribute values.

  ##### Returns:

  The geometry instance representing the outline portion of the geometry.

  ##### Throws:

  - DeveloperError : This instance does not represent an outlined geometry.

#### destroy()
DataSources/PolylineVolumeGeometryUpdater.js 381

  Destroys and resources used by the object. Once an object is destroyed, it should not be used.

  ##### Throws:

  - DeveloperError : This object was destroyed, i.e., destroy() was called.

#### isDestroyed() → Boolean
DataSources/PolylineVolumeGeometryUpdater.js 372

  Returns true if this object was destroyed; otherwise, false.

  ##### Returns:

  True if this object was destroyed; otherwise, false.

#### isFilled(time) → Boolean
DataSources/PolylineVolumeGeometryUpdater.js 280

  Checks if the geometry is filled at the provided time.

  Name | Type | Description
  --- | --- | ---
  `time` | JulianDate | The time for which to retrieve visibility.

  ##### Returns:

  true if geometry is filled at the provided time, false otherwise.

#### isOutlineVisible(time) → Boolean
DataSources/PolylineVolumeGeometryUpdater.js 269

  Checks if the geometry is outlined at the provided time.

  Name | Type | Description
  --- | --- | ---
  `time` | JulianDate | The time for which to retrieve visibility.

  ##### Returns:

  true if geometry is outlined at the provided time, false otherwise.