new DynamicObjectView
A utility object for tracking an object with the camera.
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
dynamicObject |
DynamicObject | The object to track with the camera. | ||
scene |
Scene | The scene to use. | ||
ellipsoid |
Ellipsoid |
<optional> |
Ellipsoid.WGS84 | The ellipsoid to use for orienting the camera. |
Members
-
dynamicObject :DynamicObject
-
The object to track with the camera.
-
ellipsoid :Ellipsoid
-
The ellipsoid to use for orienting the camera.
-
scene :Scene
-
The scene in which to track the object.
Methods
-
<static> prototype.update
-
Should be called each animation frame to update the camera to the latest settings.
Parameters:
Name Type Description time
JulianDate The current animation time.