对象高亮
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
target | string | 是 | ObjectId | — |
tag | string | 是 | — | — |
highlight | string | 是 | toggle | 可见性 toggle/true/false 可选值: toggletruefalse |
bAffectChild | string | 是 | true | 是否覆盖子级true/false 可选值: truefalse |
调用
typescript
piclient.emit("object.highlight",{
target: "ObjectId",
tag: "",
highlight: "toggle",//可见性toggle/true/false
bAffectChild: "true",//是否覆盖子级true/false
})