mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
eab9072b41
* Update Camera.prefab Update camera prefab, Keep all data consistent * Update Camera.prefab Set the clear flag to skybox and the visibility to default to keep all the contents of the engine 3d layer visible when the camera is newly created, but all user-defined layers are invisible. * Update Camera.prefab * Update Camera.prefab
111 lines
1.8 KiB
Plaintext
111 lines
1.8 KiB
Plaintext
[
|
|
{
|
|
"__type__": "cc.Prefab",
|
|
"_name": "Camera",
|
|
"_objFlags": 0,
|
|
"_native": "",
|
|
"data": {
|
|
"__id__": 1
|
|
},
|
|
"optimizationPolicy": 0,
|
|
"asyncLoadAssets": false,
|
|
"persistent": false
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "Camera",
|
|
"_objFlags": 0,
|
|
"_parent": null,
|
|
"_children": [],
|
|
"_active": true,
|
|
"_level": 1,
|
|
"_components": [
|
|
{
|
|
"__id__": 2
|
|
}
|
|
],
|
|
"_prefab": {
|
|
"__id__": 4
|
|
},
|
|
"_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
|
|
},
|
|
"_layer": 1073741824,
|
|
"_euler": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.Camera",
|
|
"_name": "Camera<CameraComponent>",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 1
|
|
},
|
|
"_enabled": true,
|
|
"_projection": 1,
|
|
"_priority": 0,
|
|
"_fov": 45,
|
|
"_orthoHeight": 10,
|
|
"_near": 1,
|
|
"_far": 1000,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 51,
|
|
"g": 76,
|
|
"b": 120,
|
|
"a": 255
|
|
},
|
|
"_depth": 1,
|
|
"_stencil": 0,
|
|
"_clearFlags": 14,
|
|
"_rect": {
|
|
"__type__": "cc.Rect",
|
|
"x": 0,
|
|
"y": 0,
|
|
"width": 1,
|
|
"height": 1
|
|
},
|
|
"_targetDisplay": 0,
|
|
"_id": "",
|
|
"_visibility": 1822425087,
|
|
"__prefab": {
|
|
"__id__": 3
|
|
}
|
|
},
|
|
{
|
|
"__type__": "cc.CompPrefabInfo",
|
|
"fileId": "dbCiGR9T1E0oZwxclTRFEj"
|
|
},
|
|
{
|
|
"__type__": "cc.PrefabInfo",
|
|
"root": {
|
|
"__id__": 1
|
|
},
|
|
"asset": {
|
|
"__id__": 0
|
|
},
|
|
"fileId": "f8Nyw5r0hH9Zz+WrOqK1x/"
|
|
}
|
|
]
|