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 对象的包围球。
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.