Constructor
new SatelliteSimulation(viewer, options)
创建卫星模拟对象 使用此效果必须先引入zz3d-space库 否则无效
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
viewer |
Viewer | 场景对象 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
options |
Object | 带有以下属性的对象: Properties
|
Classes
Methods
clearSatellitePickStatus()
清除卫星选中效果
destroy()
销毁分析对象
getEntityByID(satelliteID) → {Entity}
根据卫星ID来获取对应的实体 通常用来定位或追踪
Parameters:
Name | Type | Description |
---|---|---|
satelliteID |
String | 卫星ID |
Returns:
返回对应的实体
- Type
- Entity
highlightSatellite(satelliteID, pathColoropt)
根据卫星ID来高亮对应的卫星和轨道
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
satelliteID |
String | 卫星ID |
||
pathColor |
Array |
<optional> |
[1,1,0]
|
轨道高亮颜色rgb 范围0~1 |