虚幻引擎4(UE4)目前支持 iOS 13、12以及11,不过我们推荐你在使用4.25时采用iOS 13。下表提供了特定设备对引擎功能的兼容性信息。
| 功能 | 控制台变量 | 默认启用控制台变量的设备 |
|---|---|---|
| 泛光(Bloom) | r.BloomQuality | iPhone 5s及更高版本 |
| 景深(Depth of Field) | r.DepthOfFieldQuality | iPhone 5s及更高版本 |
| 光束(Light Shafts) | r.LightShaftQuality | iPhone 5s及更高版本 |
| 折射(Refraction) | r.RefractionQuality | iPhone 5s及更高版本 |
移动内容缩放因子(Mobile Content Scale Factor) 可以缩放项目的分辨率,以适应用于查看项目的移动设备的屏幕分辨率。你可以创建和保存多个设备描述,只需在项目的config文件夹中创建名为 DefaultDeviceProfiles.ini 的新配置(.ini)文件即可。
| 设备 | 缩放因子 | 本机分辨率 | 游戏内分辨率 |
|---|---|---|---|
| iPhone 5S, iPhone SE, iPod Touch 6 | 2 | 1136x640 | 1136x640 |
| iPhone 6, iPhone 6s, iPhone 7, iPhone 8 | 2 | 1134x750 | 1136x750 |
| iPhone 6 Plus, iPhone 7 Plus, iPhone 8 Plus | 2 | 1920x1080 | 1920x1080 |
| iPhone XR, iPhone 11 | 2 | 1792x828 | 1792x828 |
| iPhone 12 mini | 3 | 2340x1080 | 2340x1080 |
| iPhone X, iPhone XS, iPhone 11 Pro | 3 | 2436x1125 | 2436x1125 |
| iPhone 12, iPhone 12 Pro | 3 | 2532x1170 | 2532x1170 |
| iPhone XS Max, iPhone 11 Pro Max, iPhone 12 Pro Max | 3 | 2688x1242 | 2688x1242 |
| iPad Pro | 2 | 2732x2048 | 2732x2048 |