general.gameSetting

通用-设置

模块:General调用:piclient.emit('general.gameSetting', {...})

设置基础配置

输入

参数类型必填默认值说明
renderQualitystring3低0,中1,高2,极致3,电影级4
screenPercentagestring100单位
maxFpsstring60
resolutionstring1920x10801920x1080,格式以x隔开
illuminationMethodstring00实时渲染 1全局照明
characterLogostring第三人称角色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
})
← 返回 General 模块