EntityView - Cesium Documentation

# EntityView

#### new EntityView(entity, scene, ellipsoid, boundingSphere)

  A utility object for tracking an entity with the camera.

  Name | Type | Default | Description
  --- | --- | --- | ---
  `entity` | Entity |  | The entity to track with the camera.
  `scene` | Scene |  | The scene to use.
  `ellipsoid` | Ellipsoid | `Ellipsoid.WGS84` | optional The ellipsoid to use for orienting the camera.
  `boundingSphere` | BoundingSphere |  | optional An initial bounding sphere for setting the default view.

  Source: DataSources/EntityView.js, line 202

### Members

#### staticEntityView.defaultOffset3D :Cartesian3

  Gets or sets a camera offset that will be used to initialize subsequent EntityViews.
  Source: DataSources/EntityView.js, line 248

#### boundingSphere :Entity

  Gets or sets an initial bounding sphere for viewing the entity.
  Source: DataSources/EntityView.js, line 226

#### ellipsoid :Ellipsoid

  The ellipsoid to use for orienting the camera.
  Source: DataSources/EntityView.js, line 220

#### entity :Entity

  The entity to track with the camera.
  Source: DataSources/EntityView.js, line 208

#### scene :Scene

  The scene in which to track the object.
  Source: DataSources/EntityView.js, line 214

### Methods

#### update(time)

  Should be called each animation frame to update the camera to the latest settings.

  Name | Type | Description
  --- | --- | ---
  `time` | JulianDate | The current animation time.

  Source: DataSources/EntityView.js, line 270