mainscene.ls 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. {
  2. "version":"LAYASCENE3D:02",
  3. "data":{
  4. "type":"Scene3D",
  5. "props":{
  6. "name":"mainscene",
  7. "ambientColor":[
  8. 0.212,
  9. 0.227,
  10. 0.259
  11. ],
  12. "lightmaps":[],
  13. "enableFog":false,
  14. "fogStart":0,
  15. "fogRange":300,
  16. "fogColor":[
  17. 0.5,
  18. 0.5,
  19. 0.5
  20. ]
  21. },
  22. "child":[
  23. {
  24. "type":"Camera",
  25. "instanceID":0,
  26. "props":{
  27. "name":"Main Camera",
  28. "active":true,
  29. "isStatic":false,
  30. "layer":0,
  31. "position":[
  32. 0,
  33. 1,
  34. -10
  35. ],
  36. "rotation":[
  37. 0,
  38. 1,
  39. 0,
  40. 0
  41. ],
  42. "scale":[
  43. 1,
  44. 1,
  45. 1
  46. ],
  47. "clearFlag":0,
  48. "orthographic":false,
  49. "orthographicVerticalSize":10,
  50. "fieldOfView":60,
  51. "enableHDR":true,
  52. "nearPlane":0.3,
  53. "farPlane":1000,
  54. "viewport":[
  55. 0,
  56. 0,
  57. 1,
  58. 1
  59. ],
  60. "clearColor":[
  61. 0.1921569,
  62. 0.3019608,
  63. 0.4745098,
  64. 0
  65. ]
  66. },
  67. "components":[],
  68. "child":[]
  69. },
  70. {
  71. "type":"DirectionLight",
  72. "instanceID":1,
  73. "props":{
  74. "name":"Directional Light",
  75. "active":true,
  76. "isStatic":false,
  77. "layer":0,
  78. "position":[
  79. 0,
  80. 30,
  81. 0
  82. ],
  83. "rotation":[
  84. 0.1093816,
  85. 0.8754261,
  86. 0.4082179,
  87. -0.2345697
  88. ],
  89. "scale":[
  90. 1,
  91. 1,
  92. 1
  93. ],
  94. "intensity":1,
  95. "lightmapBakedType":0,
  96. "color":[
  97. 1,
  98. 0.9568627,
  99. 0.8392157
  100. ]
  101. },
  102. "components":[],
  103. "child":[]
  104. },
  105. {
  106. "type":"MeshSprite3D",
  107. "instanceID":2,
  108. "props":{
  109. "name":"end",
  110. "active":true,
  111. "isStatic":false,
  112. "layer":0,
  113. "position":[
  114. 0,
  115. 0,
  116. 0
  117. ],
  118. "rotation":[
  119. 0,
  120. 0,
  121. 0,
  122. -1
  123. ],
  124. "scale":[
  125. 1.5,
  126. 1,
  127. 0.3
  128. ],
  129. "meshPath":"Library/unity default resources-Plane.lm",
  130. "enableRender":true,
  131. "materials":[
  132. {
  133. "path":"Assets/Materials/end.lmat"
  134. }
  135. ]
  136. },
  137. "components":[
  138. {
  139. "type":"PhysicsCollider",
  140. "restitution":0,
  141. "friction":0.5,
  142. "rollingFriction":0,
  143. "shapes":[
  144. {
  145. "type":"BoxColliderShape",
  146. "center":[
  147. 0,
  148. 0,
  149. 0
  150. ],
  151. "size":[
  152. 10,
  153. 2.220446E-16,
  154. 9.999999
  155. ]
  156. }
  157. ],
  158. "isTrigger":true
  159. }
  160. ],
  161. "child":[]
  162. }
  163. ]
  164. }
  165. }