S3MPolylineEffect

new SuperMap3D.S3MPolylineEffect()

Special effect line class, which can be used to add special effect lines in the 3D scene.

Methods

getEffectSetting()

Parameter description list

setValue(name, value)

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);