设置基础配置
输入
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
renderQuality | string | 是 | 3 | 低0,中1,高2,极致3,电影级4 |
screenPercentage | string | 是 | 100 | 单位 |
maxFps | string | 是 | 60 | — |
resolution | string | 是 | 1920x1080 | 1920x1080,格式以x隔开 |
illuminationMethod | string | 是 | 0 | 0实时渲染 1全局照明 |
characterLogo | string | 是 | — | 第三人称角色logo |
调用
typescript
piclient.emit("general.gameSetting",{
renderQuality: "3", //低0,中1,高2,极致3,电影级4
screenPercentage: "100", //单位
maxFps: "60",
resolution: "1920x1080", //1920x1080,格式以x隔开
illuminationMethod: "0", //0实时渲染 1全局照明
characterLogo: "", //第三人称角色logo
})