new DynamicPolygon
An optionally time-dynamic polygon.
Members
-
material :MaterialProperty
-
Gets or sets the MaterialProperty specifying the appearance of the polygon.
-
show :Property
-
Gets or sets the boolean Property specifying the polygon's visibility.
Methods
-
<static> mergeProperties
-
Given two DynamicObjects, takes the polygon properties from the second and assigns them to the first, assuming such a property did not already exist.
Parameters:
Name Type Description targetObject
DynamicObject The DynamicObject which will have properties merged onto it. objectToMerge
DynamicObject The DynamicObject containing properties to be merged. -
<static> undefineProperties
-
Given a DynamicObject, undefines the polygon associated with it.
Parameters:
Name Type Description dynamicObject
DynamicObject The DynamicObject to remove the polygon from.