new DynamicImageMaterial
A utility class for processing CZML image materials.
Members
-
horizontalRepeat :DynamicProperty
-
A DynamicProperty of type CzmlNumber which determines the material's horizontal repeat.
- Default Value:
- undefined
-
image :DynamicProperty
-
A DynamicProperty of type CzmlNumber which determines the material's image.
- Default Value:
- undefined
-
verticalRepeat :DynamicProperty
-
A DynamicProperty of type CzmlNumber which determines the material's vertical repeat.
- Default Value:
- undefined
-
<static> prototype.isMaterial
-
Returns true if the provided CZML interval contains image material data.
Methods
-
<static> isMaterial
-
Returns true if the provided CZML interval contains image material data.
Parameters:
Name Type Description czmlInterval
The CZML interval to check. Returns:
Boolean true if the interval contains CZML image material data, false otherwise. -
<static> prototype.getValue
-
Gets an Image Material that represents this dynamic material at the provided time.
Parameters:
Name Type Argument Description time
JulianDate The desired time. context
Context The context in which this material exists. existingMaterial
Material <optional>
An existing material to be modified. If the material is undefined or not an Image Material, a new instance is created. Returns:
The modified existingMaterial parameter or a new Image Material instance if existingMaterial was undefined or not a Image Material. -
<static> prototype.processCzmlIntervals
-
Provided a CZML interval containing image material data, processes the interval into a new or existing instance of this class.
Parameters:
Name Type Argument Description czmlInterval
Object The interval to process. sourceUri
String <optional>
The originating url of the CZML being processed. Returns:
The modified existingMaterial parameter or a new DynamicImageMaterial instance if existingMaterial was undefined or not a DynamicImageMaterial.