Special effect line class, through which special effect lines can be added to 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 interface getEffectSetting() for specific name value
Object optional Attribute value Example:
var s3mpolylineEffect = layer.effect; var EffectSetting = s3mpolylineEffect.getEffectSetting(); s3mpolylineEffect.setValue('PolylineType',0); s3mpolylineEffect.setValue('Width',5);