EntityView

new Cesium.EntityView(entity, scene, ellipsoid)

一个用于使用摄像机跟踪实体的实用对象。
Name Type Default Description
entity Entity 要使用摄像机跟踪的实体。
scene Scene 要使用的场景。
ellipsoid Ellipsoid Ellipsoid.default optional 用于确定相机方向的椭球体。

Members

static Cesium.EntityView.defaultOffset3D : Cartesian3

获取或设置将用于 初始化后续的 EntityView。
对象的边界球体。
用于确定摄像机方向的椭球体。
要使用摄像机跟踪的实体。
要在其中跟踪对象的场景。

Methods

update(time, boundingSphere)

应调用每个动画帧以更新相机 设置为最新设置。
Name Type Description
time JulianDate 当前动画时间。
boundingSphere BoundingSphere optional 对象的 bounding sphere 对象。
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.