group
Functions
- createGroup(jsonData, callback)
创建组
- updateGroup(jsonData, callback)
更新组
- deleteGroup(jsonData, callback)
解组
createGroup(jsonData, callback)
创建组
Kind: global function
Param | Type | Description |
---|---|---|
jsonData | Object | 参数 |
jsonData.name | String | 名称 |
jsonData.id | String | 场景已有的对象唯一辨识 |
jsonData.type | String | 对象类型 |
jsonData.children | Array | 组内子对象列表(对象需包含type、name、id、visible) |
callback | function | 回调函数 |
updateGroup(jsonData, callback)
更新组
Kind: global function
Param | Type | Description |
---|---|---|
jsonData | Object | 参数 |
jsonData.name | String | 名称 |
jsonData.id | String | 场景已有的对象唯一辨识 |
jsonData.type | String | 对象类型 |
jsonData.children | Array | 组内子对象列表(对象需包含type、name、id、visible) |
callback | function | 回调函数 |
deleteGroup(jsonData, callback)
解组
Kind: global function
Param | Type | Description |
---|---|---|
jsonData | Object | 参数 |
jsonData.name | String | 名称 |
jsonData.id | String | 场景已有的对象唯一辨识 |
jsonData.type | String | 对象类型 |
jsonData.children | Array | 组内子对象列表(对象需包含type、name、id、visible) |
callback | function | 回调函数 |