Mainscene.ls 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  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. 2,
  33. 66.6,
  34. 13.2
  35. ],
  36. "rotation":[
  37. 0,
  38. 0.9238796,
  39. 0.3826834,
  40. 0
  41. ],
  42. "scale":[
  43. 1,
  44. 1,
  45. 1
  46. ],
  47. "clearFlag":1,
  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. -3.037275,
  80. 3.238948,
  81. -14.55675
  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. 1,
  99. 1
  100. ]
  101. },
  102. "components":[],
  103. "child":[]
  104. },
  105. {
  106. "type":"Sprite3D",
  107. "instanceID":2,
  108. "props":{
  109. "name":"Plane",
  110. "active":true,
  111. "isStatic":false,
  112. "layer":0,
  113. "position":[
  114. 0,
  115. 0,
  116. 47
  117. ],
  118. "rotation":[
  119. 0,
  120. 0,
  121. 0,
  122. -1
  123. ],
  124. "scale":[
  125. 1,
  126. 1,
  127. 1
  128. ]
  129. },
  130. "components":[],
  131. "child":[
  132. {
  133. "type":"MeshSprite3D",
  134. "instanceID":3,
  135. "props":{
  136. "name":"Plane_0",
  137. "active":true,
  138. "isStatic":false,
  139. "layer":0,
  140. "position":[
  141. 0,
  142. 0,
  143. 0
  144. ],
  145. "rotation":[
  146. 0,
  147. 0,
  148. 0,
  149. -1
  150. ],
  151. "scale":[
  152. 30,
  153. 30,
  154. 30
  155. ],
  156. "meshPath":"Assets/ArcherAsset/Mesh/Plane-Plane_0.lm",
  157. "enableRender":true,
  158. "materials":[
  159. {
  160. "path":"Assets/ArcherAsset/Mesh/Materials/grass.lmat"
  161. }
  162. ]
  163. },
  164. "components":[
  165. {
  166. "type":"PhysicsCollider",
  167. "restitution":0,
  168. "friction":0.5,
  169. "rollingFriction":0,
  170. "shapes":[
  171. {
  172. "type":"BoxColliderShape",
  173. "center":[
  174. 0,
  175. 0,
  176. 0
  177. ],
  178. "size":[
  179. 10,
  180. 2.220446E-16,
  181. 10
  182. ]
  183. }
  184. ],
  185. "isTrigger":false
  186. }
  187. ],
  188. "child":[]
  189. }
  190. ]
  191. }
  192. ]
  193. }
  194. }