Special effect line class, which can be used to add special effect lines in the 3D scene.
Methods
-
Parameter description list
-
Set the parameter value of the special effect line
Name Type Description name
String optional Property name, please refer to the interface for the specific namegetEffectSetting() value
Object optional attribute value Example:
var s3mpolylineEffect = layer.effect; var EffectSetting = s3mpolylineEffect.getEffectSetting(); s3mpolylineEffect.setValue('PolylineType',0); s3mpolylineEffect.setValue('Width',5);