Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
optional
Object with the following properties:
|
Extends
Members
-
aryGradientColors : Array.<Color>
-
Gradual change color array (up to 5 settings are supported)
-
Effect id
-
Track point minimum length interval
-
Track line width
-
Track line display length (number of control points), default display 15, requirements must be greater than or equal to 2, otherwise all control points will be displayed.
Methods
-
Release resources
-
Json object to effect object, note: json object does not contain scene and geoGraphicObject objects, you need to call the corresponding interface settings
Name Type Description jsonObj
Object Json object -
Get effect ID
Returns:
Effect ID- Inherited From:
-
Whether it is affected by the visibility of the plotting object
Returns:
Whether to update- Inherited From:
-
Get visibility
Returns:
Show or hide.- Inherited From:
-
Set the plotting object of effect binding
Name Type Description geoGraphicObject
GeoGraphicObject Plotting object - Inherited From:
-
Sets whether to update the effect visibility when the plotting object visibility changes
Name Type Description isUse
Boolean Whether to update - Inherited From:
-
Set the scene
Name Type Description scene
Scene 3D scene - Inherited From:
-
Set visibility
Name Type Description visible
Boolean Visibility Returns:
True on success, false otherwise.- Inherited From:
-
Effect object to Json object, note: json object does not contain scene and geoGraphicObject objects
Returns:
Json string -
Set effect properties
Name Type Description options
Object optional Object with the following properties: Name Type Description point
MPoint3D optional Location point