new DynamicColorMaterial
A utility class for processing CZML color materials.
Members
-
color :DynamicProperty
-
A DynamicProperty of type CzmlColor which determines the material's color.
- Default Value:
- undefined
-
<static> prototype.isMaterial
-
Returns true if the provided CZML interval contains color material data.
Methods
-
<static> isMaterial
-
Returns true if the provided CZML interval contains color material data.
Parameters:
Name Type Description czmlIntervalThe CZML interval to check. Returns:
Boolean true if the interval contains CZML color material data, false otherwise. -
<static> prototype.getValue
-
Gets a Color Material that represents this dynamic material at the provided time.
Parameters:
Name Type Argument Description timeJulianDate The desired time. contextContext The context in which this material exists. existingMaterialMaterial <optional>
An existing material to be modified. If the material is undefined or not a Color Material, a new instance is created. Returns:
The modified existingMaterial parameter or a new Color Material instance if existingMaterial was undefined or not a Color Material. -
<static> prototype.processCzmlIntervals
-
Provided a CZML interval containing color material data, processes the interval into a new or existing instance of this class.
Parameters:
Name Type Argument Description czmlIntervalObject The interval to process. existingMaterialDynamicColorMaterial <optional>
The DynamicColorMaterial to modify.
