light.prefab 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. [
  2. {
  3. "__type__": "cc.Prefab",
  4. "_name": "",
  5. "_objFlags": 0,
  6. "_native": "",
  7. "data": {
  8. "__id__": 1
  9. },
  10. "optimizationPolicy": 0,
  11. "asyncLoadAssets": false,
  12. "readonly": false
  13. },
  14. {
  15. "__type__": "cc.Node",
  16. "_name": "light",
  17. "_objFlags": 0,
  18. "_parent": null,
  19. "_children": [],
  20. "_active": true,
  21. "_level": 1,
  22. "_components": [
  23. {
  24. "__id__": 2
  25. }
  26. ],
  27. "_prefab": {
  28. "__id__": 3
  29. },
  30. "_opacity": 255,
  31. "_color": {
  32. "__type__": "cc.Color",
  33. "r": 255,
  34. "g": 255,
  35. "b": 255,
  36. "a": 255
  37. },
  38. "_contentSize": {
  39. "__type__": "cc.Size",
  40. "width": 0,
  41. "height": 0
  42. },
  43. "_anchorPoint": {
  44. "__type__": "cc.Vec2",
  45. "x": 0.5,
  46. "y": 0.5
  47. },
  48. "_position": {
  49. "__type__": "cc.Vec3",
  50. "x": 0,
  51. "y": 0,
  52. "z": 0
  53. },
  54. "_scale": {
  55. "__type__": "cc.Vec3",
  56. "x": 1,
  57. "y": 1,
  58. "z": 1
  59. },
  60. "_skewX": 0,
  61. "_skewY": 0,
  62. "_is3DNode": true,
  63. "groupIndex": 0,
  64. "_id": "",
  65. "_eulerAngles": {
  66. "x": 0,
  67. "y": 0,
  68. "z": 0,
  69. "__type__": "cc.Vec3"
  70. }
  71. },
  72. {
  73. "__type__": "cc.Light",
  74. "_name": "",
  75. "_objFlags": 0,
  76. "node": {
  77. "__id__": 1
  78. },
  79. "_enabled": true,
  80. "_type": 0,
  81. "_color": {
  82. "__type__": "cc.Color",
  83. "r": 255,
  84. "g": 255,
  85. "b": 255,
  86. "a": 255
  87. },
  88. "_intensity": 1,
  89. "_range": 1,
  90. "_spotAngle": 60,
  91. "_spotExp": 1,
  92. "_shadowType": 0,
  93. "_shadowResolution": 1024,
  94. "_shadowDarkness": 0.5,
  95. "_shadowMinDepth": 1,
  96. "_shadowMaxDepth": 1000,
  97. "_shadowDepthScale": 250,
  98. "_shadowFrustumSize": 50,
  99. "_shadowBias": 0.0005,
  100. "_id": ""
  101. },
  102. {
  103. "__type__": "cc.PrefabInfo",
  104. "root": {
  105. "__id__": 1
  106. },
  107. "asset": {
  108. "__uuid__": "ddb99b39-7004-47cd-9705-751905c43c46"
  109. },
  110. "fileId": "33zOkteexCqamZ4PXuwJaW",
  111. "sync": false
  112. }
  113. ]