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 nameString optional Property name, please refer to the interface for the specific namegetEffectSetting() valueObject optional attribute value Example:
var s3mpolylineEffect = layer.effect; var EffectSetting = s3mpolylineEffect.getEffectSetting(); s3mpolylineEffect.setValue('PolylineType',0); s3mpolylineEffect.setValue('Width',5);
