输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
target | string | 是 | ObjectId | 场景中的面光源 |
barnDoorLength | number | 是 | 0.0 | 矩边长度 |
调用
typescript
piclient.emit("light.barnDoorLength",{
target: "ObjectId", //场景中的面光源
barnDoorLength: 0.0, //矩边长度
})
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
target | string | 是 | ObjectId | 场景中的面光源 |
barnDoorLength | number | 是 | 0.0 | 矩边长度 |
piclient.emit("light.barnDoorLength",{
target: "ObjectId", //场景中的面光源
barnDoorLength: 0.0, //矩边长度
})