分辨率适配测试

This commit is contained in:
2025-09-19 20:40:01 +08:00
parent 15cddb6474
commit c6112e7ed4
7 changed files with 1149 additions and 586 deletions
+167 -22
View File
@@ -23,7 +23,7 @@
"_active": true,
"_components": [],
"_prefab": {
"__id__": 27
"__id__": 31
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -54,7 +54,7 @@
},
"autoReleaseAssets": false,
"_globals": {
"__id__": 28
"__id__": 32
},
"_id": "1a23cd3e-e487-4fd1-a415-346c2087464d"
},
@@ -81,21 +81,24 @@
},
{
"__id__": 20
},
{
"__id__": 23
}
],
"_active": true,
"_components": [
{
"__id__": 23
"__id__": 27
},
{
"__id__": 24
"__id__": 28
},
{
"__id__": 25
"__id__": 29
},
{
"__id__": 26
"__id__": 30
}
],
"_prefab": null,
@@ -751,6 +754,148 @@
"_volume": 1,
"_id": "030kCofjFAmI5HlV2BrAD6"
},
{
"__type__": "cc.Node",
"_name": "test",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 24
},
{
"__id__": 25
},
{
"__id__": 26
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "3eM7mCdfROdaOWSbccQmmQ"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 23
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 2115
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "4bzm4tl4VJwZDKcaQMFTmm"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 23
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "8426dfa7-c0bd-4bfc-8ea1-90d9f957fa73@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 1,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "fd5aPdKARIe4KoMy2wyxvh"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 23
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 255,
"_originalHeight": 255,
"_alignMode": 2,
"_lockFlags": 0,
"_id": "cdikCeObJEaoGZ5FWImPkl"
},
{
"__type__": "cc.UITransform",
"_name": "",
@@ -816,7 +961,7 @@
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_lockFlags": 45,
"_id": "c5V1EV8IpMtrIvY1OE9t2u"
},
{
@@ -851,29 +996,29 @@
{
"__type__": "cc.SceneGlobals",
"ambient": {
"__id__": 29
},
"shadows": {
"__id__": 30
},
"_skybox": {
"__id__": 31
},
"fog": {
"__id__": 32
},
"octree": {
"__id__": 33
},
"skin": {
"shadows": {
"__id__": 34
},
"lightProbeInfo": {
"_skybox": {
"__id__": 35
},
"postSettings": {
"fog": {
"__id__": 36
},
"octree": {
"__id__": 37
},
"skin": {
"__id__": 38
},
"lightProbeInfo": {
"__id__": 39
},
"postSettings": {
"__id__": 40
},
"bakedWithStationaryMainLight": false,
"bakedWithHighpLightmap": false
},