Constructor
new Glodon.Bimface.Plugins.Walkthrough.WalkthroughManager(walkthroughManagerConfig)
Parameters:
| Name | Type | Description |
|---|---|---|
| walkthroughManagerConfig | Glodon.Bimface.Plugins.Walkthrough.WalkthroughManagerConfig | 路径漫游管理器配置项 |
Methods
addWalkthrough(name, walkthrough)
添加漫游路径
Parameters:
| Name | Type | Description |
|---|---|---|
| name | String | 漫游路径名称 |
| walkthrough | Glodon.Bimface.Plugins.Walkthrough.Walkthrough | 漫游路径对象 |
Returns:
| Type | Description |
|---|---|
| String |
漫游路径对象ID |
getWalkthroughList()
获取漫游列表
Returns:
| Type | Description |
|---|---|
| Object |
漫游列表数据 |
removeWalkthrough(ids)
清除漫游路径
Parameters:
| Name | Type | Description |
|---|---|---|
| ids | Array | 多个漫游路径ID |
setWalkthroughList(walkthroughList)
设置漫游列表
Parameters:
| Name | Type | Description |
|---|---|---|
| walkthroughList | Object | 漫游列表数据 |