TubularCommunicationLink

管线特效,继承自CommunicationLinkBase
Name Type Description
options Object optional 特效基类参数
Name Type Default Description
visible Boolean true optional 特效显隐
startUUID String 信号起始的地理实体UUID
endUUID String 信号结束的地理实体UUID
startOffset PlotPoint3D PlotPoint3D(0,0,0.5) optional 链路起点相对于起点模型自身大小的偏移量(百分比)
endOffset PlotPoint3D PlotPoint3D(0,0,0.5) optional 链路终点相对于终点模型自身大小的偏移量(百分比)
maxVisibleDistance Boolean -1 optional 为-1时不生效,当起始和终止位置之间的距离小于此距离时才显示链路
color PlotPoint3D new WebGLPlot.Color(1.0, 0.0, 0.0, 0.8) optional 颜色
sectionSlices Number 60 optional 截面边数[3,128]
topRadius Number 1000 optional 顶面半径
bottomRadius Number 1000 optional 底面半径
speedV Number 1.5 optional 流动速度
repeatCount Number 10 optional 重复次数
image String optional 材质(图片)路径(资源在mServer包/webapps/iserver/mgis文件夹目录下)

Methods

clone()

Returns:
返回克隆对象

fromJSON(jsonObj)

Json字符串转特效对象
Name Type Description
jsonObj String Json字符串

setGeoEntityParameter(geoEntityParameter, linkGeoEntityUuid)

Name Type Description
geoEntityParameter GeoEntityParameter optional 地理实体参数类
linkGeoEntityUuid String optional 链接实体的UUID

toJSON()String

特效对象转Json字符串
Returns:
Json字符串