Dynamic instance object state information, used to update the state of the specified id model instance in the dynamic layer.
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
The object has the following properties:
|
Members
-
Get or set the height.
-
color : Color
-
Get or set the color.
-
Get or set description information
-
Get or set the azimuth angle (rotate around the Z axis).
-
Get or set the ID.
-
Get or set the latitude.
-
Get or set the longitude.
-
offset : Cartesian3
-
Get or set the offset position of the model center point.
-
Get or set the rotation angle around the X axis.
-
Gets or sets the rotation angle around the Y axis.
-
scale : Cartesian3
-
Get or set the zoom factor.
-
Get or set the azimuth angle of the model (the horizontal angle from the north direction line to the target direction line in a clockwise direction), unit: radians.
-
Get or set the timestamp.
Methods
-
staticCesium.DynamicObjectState.clone(state) → DynamicObjectState
-
Clone object
Name Type Description state
DynamicObjectState The source object of the clone. Returns:
Return the cloned object.Example:
var state = DynamicObjectState.clone(oldState);