new DynamicPolygon()
An optionally time-dynamic polygon.
Members
-
definitionChanged :Event
-
Gets the event that is raised whenever a new property is assigned.
-
definitionChanged :Event
-
Gets the event that is raised whenever a new property is assigned.
-
extrudedHeight :Property
-
Gets or sets the Number
Property
specifying the extruded height of the polygon. Setting this property creates a polygon shaped volume starting at height and ending at the extruded height. -
fill :Property
-
Gets or sets the Boolean
Property
specifying whether the polygon should be filled. -
granularity :Property
-
Gets or sets the Number
Property
specifying the sampling distance, in radians, between each latitude and longitude point. -
height :Property
-
Gets or sets the Number
Property
specifying the height of the polygon. If undefined, the polygon will be on the surface. -
material :MaterialProperty
-
Gets or sets the
MaterialProperty
specifying the appearance of the polygon. -
outline :Property
-
Gets or sets the Boolean
Property
specifying whether the polygon should be outlined. -
outlineColor :Property
-
Gets or sets the Color
Property
specifying whether the color of the outline. -
perPositionHeight :Property
-
Gets or sets the Boolean
Property
specifying whether the polygon uses per-position heights. -
show :Property
-
Gets or sets the boolean
Property
specifying the polygon's visibility. -
stRotation :Property
-
Gets or sets the Number
Property
specifying the rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise.
Methods
-
clone(result) → DynamicPolygon
-
Duplicates a DynamicPolygon instance.
Name Type Description result
DynamicPolygon optional The object onto which to store the result. Returns:
The modified result parameter or a new instance if one was not provided. -
merge(source)
-
Assigns each unassigned property on this object to the value of the same property on the provided source object.
Name Type Description source
DynamicPolygon The object to be merged into this object.