new DynamicCone
Represents a time-dynamic cone, typically used in conjunction with DynamicConeVisualizer and DynamicObjectCollection to visualize CZML.
- DynamicObject
- DynamicProperty
- DynamicObjectCollection
- DynamicConeVisualizer
- VisualizerCollection
- ComplexConicSensor
- CzmlDefaults
See:
Source:
Members
-
capMaterial :DynamicMaterialProperty
-
A DynamicMaterialProperty which determines the cone's cap material.
- Default Value:
- undefined
-
innerHalfAngle :DynamicProperty
-
A DynamicProperty of type CzmlNumber which determines the cone's inner half-angle.
- Default Value:
- undefined
-
innerMaterial :DynamicMaterialProperty
-
A DynamicMaterialProperty which determines the cone's inner material.
- Default Value:
- undefined
-
intersectionColor :DynamicProperty
-
A DynamicProperty of type CzmlColor which determines the color of the line formed by the intersection of the cone and other central bodies.
- Default Value:
- undefined
-
intersectionWidth :DynamicProperty
-
A DynamicProperty of type CzmlNumber which determines the approximate pixel width of the line formed by the intersection of the cone and other central bodies.
- Default Value:
- undefined
-
maximumClockAngle :DynamicProperty
-
A DynamicProperty of type CzmlNumber which determines the cone's maximum clock-angle.
- Default Value:
- undefined
-
minimumClockAngle :DynamicProperty
-
A DynamicProperty of type CzmlNumber which determines the cone's minimum clock-angle.
- Default Value:
- undefined
-
outerHalfAngle :DynamicProperty
-
A DynamicProperty of type CzmlNumber which determines the cone's outer half-angle.
- Default Value:
- undefined
-
outerMaterial :DynamicMaterialProperty
-
A DynamicMaterialProperty which determines the cone's outer material.
- Default Value:
- undefined
-
radius :DynamicProperty
-
A DynamicProperty of type CzmlNumber which determines the cone's radius.
- Default Value:
- undefined
-
show :DynamicProperty
-
A DynamicProperty of type CzmlBoolean which determines the cone's visibility
- Default Value:
- undefined
-
showIntersection :DynamicProperty
-
A DynamicProperty of type CzmlBoolean which determines the cone's intersection visibility
- Default Value:
- undefined
-
silhouetteMaterial :DynamicMaterialProperty
-
A DynamicMaterialProperty which determines the cone's silhouette material.
- Default Value:
- undefined
Methods
-
<static> mergeProperties
-
Given two DynamicObjects, takes the cone properties from the second and assigns them to the first, assuming such a property did not already exist. This method is not normally called directly, but is part of the array of CZML processing functions that is passed into the CompositeDynamicObjectCollection constructor.
Parameters:
Name Type Description targetObject
DynamicObject The DynamicObject which will have properties merged onto it. objectToMerge
DynamicObject The DynamicObject containing properties to be merged. See:
-
<static> processCzmlPacket
-
Processes a single CZML packet and merges its data into the provided DynamicObject's cone. If the DynamicObject does not have a cone, one is created. This method is not normally called directly, but is part of the array of CZML processing functions that is passed into the DynamicObjectCollection constructor.
Parameters:
Name Type Description dynamicObject
DynamicObject The DynamicObject which will contain the cone data. packet
Object The CZML packet to process. Returns:
Boolean true if any new properties were created while processing the packet, false otherwise.- DynamicObject
- DynamicProperty
- DynamicObjectCollection
- CzmlDefaults#updaters
See:
-
<static> undefineProperties
-
Given a DynamicObject, undefines the cone associated with it. This method is not normally called directly, but is part of the array of CZML processing functions that is passed into the CompositeDynamicObjectCollection constructor.
Parameters:
Name Type Description dynamicObject
DynamicObject The DynamicObject to remove the cone from. See: