mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
3240dba206
* Rename ui related components * Rename files * Remove Useless errors * Fix sealed names * Fix sealed global variables * Fix circular reference * Refactor more component names * Rename particle and animation related component * export scene and models sub module in renderer * Rename ModelComponents to Model * Refactor LightComponents to Light * Refactor CameraComponent to Camera * Refactor ConstraintComponents to Constraint and rename physics comps * Cleanup and fix issues * Small fixes * Refactor Model to MeshRenderer * Final touch * Fix data class export * Better deprecation to cover all old usage * Simpler and better deprecation with js.setClassAlias * Fix ci * Fix editor issue
107 lines
1.7 KiB
Plaintext
107 lines
1.7 KiB
Plaintext
[
|
|
{
|
|
"__type__": "cc.Prefab",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"_native": "",
|
|
"data": {
|
|
"__id__": 1
|
|
},
|
|
"optimizationPolicy": 0,
|
|
"asyncLoadAssets": false
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "Camera",
|
|
"_objFlags": 0,
|
|
"_parent": null,
|
|
"_children": [],
|
|
"_active": true,
|
|
"_level": 1,
|
|
"_components": [
|
|
{
|
|
"__id__": 2
|
|
}
|
|
],
|
|
"_prefab": {
|
|
"__id__": 3
|
|
},
|
|
"_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": 7,
|
|
"_rect": {
|
|
"__type__": "cc.Rect",
|
|
"x": 0,
|
|
"y": 0,
|
|
"width": 1,
|
|
"height": 1
|
|
},
|
|
"_targetDisplay": 0,
|
|
"_id": "",
|
|
"_visibility": 1822425087
|
|
},
|
|
{
|
|
"__type__": "cc.PrefabInfo",
|
|
"root": {
|
|
"__id__": 1
|
|
},
|
|
"asset": {
|
|
"__id__": 0
|
|
},
|
|
"fileId": "f8Nyw5r0hH9Zz+WrOqK1x/",
|
|
"sync": false,
|
|
"_synced": {
|
|
"default": false,
|
|
"serializable": false
|
|
}
|
|
}
|
|
] |