用于使用相机跟踪实体的实用程序对象。 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.default
|
可选 optional 用于定向相机的椭球体。 The ellipsoid to use for orienting the camera. |
成员 Members
static Cesium.EntityView.defaultOffset3D : Cartesian3
获取或设置将用于初始化后续 EntityView 的相机偏移量。 Gets or sets a camera offset that will be used to initialize subsequent EntityViews.
boundingSphere : BoundingSphere
物体的边界球体。 The bounding sphere of the object.
ellipsoid : Ellipsoid
用于定向相机的椭球体。 The ellipsoid to use for orienting the camera.
使用相机跟踪的实体。 The entity to track with the camera.
跟踪对象的场景。 The scene in which to track the object.
方法 Methods
应该调用每个动画帧来将相机更新到最新设置。 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. |
