Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
对象具有以下属性:
|
Methods
-
clone() → GeoEntityEffectAttackline
-
克隆
Returns:
返回克隆对象 -
Json字符串转对象
Name Type Description jsonObj
String Json字符串 -
获取模型路径
Returns:
模型路径 -
获取模型大小
Returns:
模型大小 -
获取持续时间
Returns:
持续时间 -
getLineColor() → Color
-
获取线色
Returns:
线色 -
获取线宽
Returns:
线宽 -
获取路径节点信息
Returns:
路径节点信息 -
获取打击线起点实体UUID
Returns:
起点实体UUID -
getTargetGeoEntityUUID() → MPoint3D
-
获取目标实体
Returns:
目标实体 -
模型路径
Name Type Description url
String 模型路径 -
模型大小
Name Type Description attactModelScale
Number 模型大小 -
设置持续时间
Name Type Description during
Number 持续时间 -
设置特效属性
Name Type Description geoEntityParameter
GeoEntityParameter 地理实体参数类 linkGeoEntityUuid
String optional 实体的UUID -
设置线色
Name Type Description lineColor
Color 线色 -
设置线宽
Name Type Description lineWide
Number 线宽 -
设置路径节点信息
Name Type Description pathInfo
Array 设置路径节点信息 -
设置打击线起点实体UUID
Name Type Description UUID
String 起点实体UUID -
设置打击线目标实体UUID
Name Type Description endpoint
MPoint3D 获取打击线起点实体UUID -
对象转Json字符串
Returns:
Json字符串