输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
target | string | 是 | ObjectId | 场景中的光源 |
lightRadius | number | 是 | 0.0 | 作用半径 |
调用
typescript
piclient.emit("light.pointLightradius",{
target: "ObjectId", //场景中的光源
lightRadius: 0.0, //作用半径
})
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
target | string | 是 | ObjectId | 场景中的光源 |
lightRadius | number | 是 | 0.0 | 作用半径 |
piclient.emit("light.pointLightradius",{
target: "ObjectId", //场景中的光源
lightRadius: 0.0, //作用半径
})