EntityView

new Cesium.EntityView(entity, scene, ellipsoid)

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.

Members

static Cesium.EntityView.defaultOffset3D : Cartesian3

Gets or sets a camera offset that will be used to initialize subsequent EntityViews.
The bounding sphere of the object.
The ellipsoid to use for orienting the camera.
The entity to track with the camera.
The scene in which to track the object.

Methods

update(time, boundingSphere)

Should be called each animation frame to update the camera to the latest settings.
Name Type Description
time JulianDate The current animation time.
boundingSphere BoundingSphere optional bounding sphere of the object.