对象设置透明度
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
target | string | 是 | ObjectId | — |
tag | string | 是 | — | — |
opacity | string | 是 | 0.5 | — |
bAffectChild | string | 是 | true | true/false 可选值: truefalse |
调用
typescript
piclient.emit("object.opacity",{
target: "ObjectId",
tag: "",
opacity: "0.5",
bAffectChild: "true",//true/false
})