group

Functions

createGroup(jsonData, callback)

创建组

updateGroup(jsonData, callback)

更新组

deleteGroup(jsonData, callback)

解组

createGroup(jsonData, callback)

创建组

Kind: global function

ParamTypeDescription
jsonDataObject参数
jsonData.nameString名称
jsonData.idString场景已有的对象唯一辨识
jsonData.typeString对象类型
jsonData.childrenArray组内子对象列表(对象需包含type、name、id、visible)
callbackfunction回调函数

updateGroup(jsonData, callback)

更新组

Kind: global function

ParamTypeDescription
jsonDataObject参数
jsonData.nameString名称
jsonData.idString场景已有的对象唯一辨识
jsonData.typeString对象类型
jsonData.childrenArray组内子对象列表(对象需包含type、name、id、visible)
callbackfunction回调函数

deleteGroup(jsonData, callback)

解组

Kind: global function

ParamTypeDescription
jsonDataObject参数
jsonData.nameString名称
jsonData.idString场景已有的对象唯一辨识
jsonData.typeString对象类型
jsonData.childrenArray组内子对象列表(对象需包含type、name、id、visible)
callbackfunction回调函数