DynamicObject

DynamicObject

new

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.
Source:

Members

:TimeIntervalCollection

The availability, if any, associated with this object. If availability is undefined, it is assumed that this object's other properties will return valid data for any provided time. If availability exists, the objects other properties will only provide valid data if queried within the given interval.

:DynamicBillboard

Gets or sets the billboard.

:DynamicCone

Gets or sets the cone.

:DynamicObject

The object to track with the camera.

:DynamicEllipse

Gets or sets the ellipse.

:Ellipsoid

The ellipsoid to use for orienting the camera.

:DynamicEllipsoid

Gets or sets the ellipsoid.

:String

Gets the unique ID associated with this object.

:DynamicLabel

Gets or sets the label.

:String

Gets or sets the name of the object. The name is intended for end-user consumption and does not need to be unique.

:Property

Gets or sets the orientation.

:DynamicObject

Gets or sets the parent object.

:DynamicPath

Gets or sets the path.

:DynamicPoint

Gets or sets the point graphic.

:DynamicPolygon

Gets or sets the polygon.

:DynamicPolyline

Gets or sets the polyline.

:PositionProperty

Gets or sets the position.

:Event

Gets the event that is raised whenever a new property is assigned.

:Event

Gets the names of all properties registed on this instance.

:DynamicPyramid

Gets or sets the pyramid.

:Scene

The scene in which to track the object.

:DynamicVector

Gets or sets the vector.

:Property

Gets or sets the vertex positions.

:Cartesian3

Gets or sets the suggested initial offset for viewing this object with the camera. The offset is defined in the east-north-up reference frame.

Methods

Adds a property to this object. Once a property is added, it can be observed with DynamicObject.propertyChanged and composited with CompositeDynamicObjectCollection

Parameters:
Name Type Description
propertyName The name of the property to add.
Throws:

Given a time, returns true if this object should have data during that time.

Parameters:
Name Type Description
time JulianDate The time to check availability for.
Throws:
DeveloperError : time is required.
Returns:
true if the object should have data during the provided time, false otherwise.

Assigns each unassigned property on this object to the value of the same property on the provided source object.

Parameters:
Name Type Description
source DynamicObject The object to be merged into this object.
Throws:
DeveloperError : source is required.

Removed a property previously added with addProperty.

Parameters:
Name Type Description
propertyName The name of the property to remove.
Throws:

<static>

Should be called each animation frame to update the camera to the latest settings.

Parameters:
Name Type Description
time JulianDate The current animation time.
Throws:

DynamicObject

new

DynamicObject instances are the primary data store for processed data. They are used primarily by the visualizers to create and maintain graphic primitives that represent the DynamicObject's properties at a specific time.

Parameters:
Name Type Argument Description
id String <optional>
A unique identifier for this object. If no id is provided, a GUID is generated.
See:
Source:

Members

:TimeIntervalCollection

The availability, if any, associated with this object. If availability is undefined, it is assumed that this object's other properties will return valid data for any provided time. If availability exists, the objects other properties will only provide valid data if queried within the given interval.

:DynamicBillboard

Gets or sets the billboard.

:DynamicCone

Gets or sets the cone.

:DynamicObject

The object to track with the camera.

:DynamicEllipse

Gets or sets the ellipse.

:Ellipsoid

The ellipsoid to use for orienting the camera.

:DynamicEllipsoid

Gets or sets the ellipsoid.

:String

Gets the unique ID associated with this object.

:DynamicLabel

Gets or sets the label.

:String

Gets or sets the name of the object. The name is intended for end-user consumption and does not need to be unique.

:Property

Gets or sets the orientation.

:DynamicObject

Gets or sets the parent object.

:DynamicPath

Gets or sets the path.

:DynamicPoint

Gets or sets the point graphic.

:DynamicPolygon

Gets or sets the polygon.

:DynamicPolyline

Gets or sets the polyline.

:PositionProperty

Gets or sets the position.

:Event

Gets the event that is raised whenever a new property is assigned.

:Event

Gets the names of all properties registed on this instance.

:DynamicPyramid

Gets or sets the pyramid.

:Scene

The scene in which to track the object.

:DynamicVector

Gets or sets the vector.

:Property

Gets or sets the vertex positions.

:Cartesian3

Gets or sets the suggested initial offset for viewing this object with the camera. The offset is defined in the east-north-up reference frame.

Methods

Adds a property to this object. Once a property is added, it can be observed with DynamicObject.propertyChanged and composited with CompositeDynamicObjectCollection

Parameters:
Name Type Description
propertyName The name of the property to add.
Throws:

Given a time, returns true if this object should have data during that time.

Parameters:
Name Type Description
time JulianDate The time to check availability for.
Throws:
DeveloperError : time is required.
Returns:
true if the object should have data during the provided time, false otherwise.

Assigns each unassigned property on this object to the value of the same property on the provided source object.

Parameters:
Name Type Description
source DynamicObject The object to be merged into this object.
Throws:
DeveloperError : source is required.

Removed a property previously added with addProperty.

Parameters:
Name Type Description
propertyName The name of the property to remove.
Throws:

<static>

Should be called each animation frame to update the camera to the latest settings.

Parameters:
Name Type Description
time JulianDate The current animation time.
Throws: