mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +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
260 lines
4.4 KiB
Plaintext
260 lines
4.4 KiB
Plaintext
[
|
|
{
|
|
"__type__": "cc.SceneAsset",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"_native": "",
|
|
"scene": {
|
|
"__id__": 1
|
|
},
|
|
"asyncLoadAssets": false
|
|
},
|
|
{
|
|
"__type__": "cc.Scene",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"_parent": null,
|
|
"_children": [
|
|
{
|
|
"__id__": 2
|
|
},
|
|
{
|
|
"__id__": 4
|
|
}
|
|
],
|
|
"_active": true,
|
|
"_level": 0,
|
|
"_components": [],
|
|
"_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
|
|
},
|
|
"_layer": 1,
|
|
"_euler": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"autoReleaseAssets": false,
|
|
"_globals": {
|
|
"__id__": 6
|
|
},
|
|
"_id": "f46876e4-e81b-4931-b493-6d367be385e7"
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "Main Light",
|
|
"_objFlags": 0,
|
|
"_parent": {
|
|
"__id__": 1
|
|
},
|
|
"_children": [],
|
|
"_active": true,
|
|
"_level": 1,
|
|
"_components": [
|
|
{
|
|
"__id__": 3
|
|
}
|
|
],
|
|
"_prefab": null,
|
|
"_lpos": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_lrot": {
|
|
"__type__": "cc.Quat",
|
|
"x": -0.24999999999999997,
|
|
"y": -0.24999999999999997,
|
|
"z": -0.06698729810778066,
|
|
"w": 0.9330127018922194
|
|
},
|
|
"_lscale": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 1,
|
|
"y": 1,
|
|
"z": 1
|
|
},
|
|
"_layer": 1073741824,
|
|
"_euler": {
|
|
"__type__": "cc.Vec3",
|
|
"x": -30,
|
|
"y": -30,
|
|
"z": 0
|
|
},
|
|
"_id": "c0y6F5f+pAvI805TdmxIjx"
|
|
},
|
|
{
|
|
"__type__": "cc.DirectionalLight",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 2
|
|
},
|
|
"_enabled": true,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 255,
|
|
"g": 255,
|
|
"b": 255,
|
|
"a": 255
|
|
},
|
|
"_useColorTemperature": false,
|
|
"_colorTemperature": 6550,
|
|
"_intensity": 65000,
|
|
"_id": "597uMYCbhEtJQc0ffJlcgA"
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "Main Camera",
|
|
"_objFlags": 0,
|
|
"_parent": {
|
|
"__id__": 1
|
|
},
|
|
"_children": [],
|
|
"_active": true,
|
|
"_level": 0,
|
|
"_components": [
|
|
{
|
|
"__id__": 5
|
|
}
|
|
],
|
|
"_prefab": null,
|
|
"_lpos": {
|
|
"__type__": "cc.Vec3",
|
|
"x": -10,
|
|
"y": 10,
|
|
"z": 10
|
|
},
|
|
"_lrot": {
|
|
"__type__": "cc.Quat",
|
|
"x": -0.27781593346944056,
|
|
"y": -0.36497167621709875,
|
|
"z": -0.11507512748638377,
|
|
"w": 0.8811195706053617
|
|
},
|
|
"_lscale": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 1,
|
|
"y": 1,
|
|
"z": 1
|
|
},
|
|
"_layer": 1073741824,
|
|
"_euler": {
|
|
"__type__": "cc.Vec3",
|
|
"x": -35,
|
|
"y": -45,
|
|
"z": 0
|
|
},
|
|
"_id": "c9DMICJLFO5IeO07EPon7U"
|
|
},
|
|
{
|
|
"__type__": "cc.Camera",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"node": {
|
|
"__id__": 4
|
|
},
|
|
"_enabled": true,
|
|
"_projection": 1,
|
|
"_priority": 0,
|
|
"_fov": 45,
|
|
"_orthoHeight": 10,
|
|
"_near": 1,
|
|
"_far": 1000,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 51,
|
|
"g": 51,
|
|
"b": 51,
|
|
"a": 255
|
|
},
|
|
"_depth": 1,
|
|
"_stencil": 0,
|
|
"_clearFlags": 7,
|
|
"_rect": {
|
|
"__type__": "cc.Rect",
|
|
"x": 0,
|
|
"y": 0,
|
|
"width": 1,
|
|
"height": 1
|
|
},
|
|
"_screenScale": 1,
|
|
"_visibility": 1822425087,
|
|
"_targetTexture": null,
|
|
"_id": "7dWQTpwS5LrIHnc1zAPUtf"
|
|
},
|
|
{
|
|
"__type__": "cc.SceneGlobals",
|
|
"ambient": {
|
|
"__id__": 7
|
|
},
|
|
"skybox": {
|
|
"__id__": 8
|
|
},
|
|
"shadows": {
|
|
"__id__": 9
|
|
}
|
|
},
|
|
{
|
|
"__type__": "cc.AmbientInfo",
|
|
"_skyColor": {
|
|
"__type__": "cc.Color",
|
|
"r": 51,
|
|
"g": 128,
|
|
"b": 204,
|
|
"a": 1
|
|
},
|
|
"_skyIllum": 20000,
|
|
"_groundAlbedo": {
|
|
"__type__": "cc.Color",
|
|
"r": 51,
|
|
"g": 51,
|
|
"b": 51,
|
|
"a": 255
|
|
}
|
|
},
|
|
{
|
|
"__type__": "cc.SkyboxInfo",
|
|
"_cubemap": null,
|
|
"_isRGBE": false,
|
|
"_enabled": false
|
|
},
|
|
{
|
|
"__type__": "cc.ShadowsInfo",
|
|
"_enabled": false,
|
|
"_normal": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 1,
|
|
"z": 0
|
|
},
|
|
"_distance": 0,
|
|
"_shadowColor": {
|
|
"__type__": "cc.Color",
|
|
"r": 76,
|
|
"g": 76,
|
|
"b": 76,
|
|
"a": 255
|
|
}
|
|
}
|
|
]
|