TestScene.scene 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800
  1. [
  2. {
  3. "__type__": "cc.SceneAsset",
  4. "_name": "TestScene",
  5. "_objFlags": 0,
  6. "__editorExtras__": {},
  7. "_native": "",
  8. "scene": {
  9. "__id__": 1
  10. }
  11. },
  12. {
  13. "__type__": "cc.Scene",
  14. "_name": "TestScene",
  15. "_objFlags": 0,
  16. "__editorExtras__": {},
  17. "_parent": null,
  18. "_children": [
  19. {
  20. "__id__": 2
  21. }
  22. ],
  23. "_active": true,
  24. "_components": [],
  25. "_prefab": null,
  26. "_lpos": {
  27. "__type__": "cc.Vec3",
  28. "x": 0,
  29. "y": 0,
  30. "z": 0
  31. },
  32. "_lrot": {
  33. "__type__": "cc.Quat",
  34. "x": 0,
  35. "y": 0,
  36. "z": 0,
  37. "w": 1
  38. },
  39. "_lscale": {
  40. "__type__": "cc.Vec3",
  41. "x": 1,
  42. "y": 1,
  43. "z": 1
  44. },
  45. "_mobility": 0,
  46. "_layer": 1073741824,
  47. "_euler": {
  48. "__type__": "cc.Vec3",
  49. "x": 0,
  50. "y": 0,
  51. "z": 0
  52. },
  53. "autoReleaseAssets": false,
  54. "_globals": {
  55. "__id__": 18
  56. },
  57. "_id": "8a125a67-dbc5-4c64-b398-6a616deee4aa"
  58. },
  59. {
  60. "__type__": "cc.Node",
  61. "_name": "Canvas",
  62. "_objFlags": 0,
  63. "__editorExtras__": {},
  64. "_parent": {
  65. "__id__": 1
  66. },
  67. "_children": [
  68. {
  69. "__id__": 3
  70. },
  71. {
  72. "__id__": 5
  73. },
  74. {
  75. "__id__": 7
  76. },
  77. {
  78. "__id__": 9
  79. }
  80. ],
  81. "_active": true,
  82. "_components": [
  83. {
  84. "__id__": 15
  85. },
  86. {
  87. "__id__": 16
  88. },
  89. {
  90. "__id__": 17
  91. }
  92. ],
  93. "_prefab": null,
  94. "_lpos": {
  95. "__type__": "cc.Vec3",
  96. "x": 359.99999999999994,
  97. "y": 667,
  98. "z": 0
  99. },
  100. "_lrot": {
  101. "__type__": "cc.Quat",
  102. "x": 0,
  103. "y": 0,
  104. "z": 0,
  105. "w": 1
  106. },
  107. "_lscale": {
  108. "__type__": "cc.Vec3",
  109. "x": 1,
  110. "y": 1,
  111. "z": 1
  112. },
  113. "_mobility": 0,
  114. "_layer": 33554432,
  115. "_euler": {
  116. "__type__": "cc.Vec3",
  117. "x": 0,
  118. "y": 0,
  119. "z": 0
  120. },
  121. "_id": "beI88Z2HpFELqR4T5EMHpg"
  122. },
  123. {
  124. "__type__": "cc.Node",
  125. "_name": "Camera",
  126. "_objFlags": 0,
  127. "__editorExtras__": {},
  128. "_parent": {
  129. "__id__": 2
  130. },
  131. "_children": [],
  132. "_active": true,
  133. "_components": [
  134. {
  135. "__id__": 4
  136. }
  137. ],
  138. "_prefab": null,
  139. "_lpos": {
  140. "__type__": "cc.Vec3",
  141. "x": 0,
  142. "y": 0,
  143. "z": 1000
  144. },
  145. "_lrot": {
  146. "__type__": "cc.Quat",
  147. "x": 0,
  148. "y": 0,
  149. "z": 0,
  150. "w": 1
  151. },
  152. "_lscale": {
  153. "__type__": "cc.Vec3",
  154. "x": 1,
  155. "y": 1,
  156. "z": 1
  157. },
  158. "_mobility": 0,
  159. "_layer": 1073741824,
  160. "_euler": {
  161. "__type__": "cc.Vec3",
  162. "x": 0,
  163. "y": 0,
  164. "z": 0
  165. },
  166. "_id": "ebFwiq8gBFaYpqYbdoDODe"
  167. },
  168. {
  169. "__type__": "cc.Camera",
  170. "_name": "",
  171. "_objFlags": 0,
  172. "__editorExtras__": {},
  173. "node": {
  174. "__id__": 3
  175. },
  176. "_enabled": true,
  177. "__prefab": null,
  178. "_projection": 0,
  179. "_priority": 0,
  180. "_fov": 45,
  181. "_fovAxis": 0,
  182. "_orthoHeight": 667,
  183. "_near": 0,
  184. "_far": 2000,
  185. "_color": {
  186. "__type__": "cc.Color",
  187. "r": 0,
  188. "g": 0,
  189. "b": 0,
  190. "a": 255
  191. },
  192. "_depth": 1,
  193. "_stencil": 0,
  194. "_clearFlags": 7,
  195. "_rect": {
  196. "__type__": "cc.Rect",
  197. "x": 0,
  198. "y": 0,
  199. "width": 1,
  200. "height": 1
  201. },
  202. "_aperture": 19,
  203. "_shutter": 7,
  204. "_iso": 0,
  205. "_screenScale": 1,
  206. "_visibility": 1108344832,
  207. "_targetTexture": null,
  208. "_postProcess": null,
  209. "_usePostProcess": false,
  210. "_cameraType": -1,
  211. "_trackingType": 0,
  212. "_id": "63WIch3o5BEYRlXzTT0oWc"
  213. },
  214. {
  215. "__type__": "cc.Node",
  216. "_name": "ConfigManager",
  217. "_objFlags": 0,
  218. "__editorExtras__": {},
  219. "_parent": {
  220. "__id__": 2
  221. },
  222. "_children": [],
  223. "_active": true,
  224. "_components": [
  225. {
  226. "__id__": 6
  227. }
  228. ],
  229. "_prefab": null,
  230. "_lpos": {
  231. "__type__": "cc.Vec3",
  232. "x": 0,
  233. "y": 0,
  234. "z": 0
  235. },
  236. "_lrot": {
  237. "__type__": "cc.Quat",
  238. "x": 0,
  239. "y": 0,
  240. "z": 0,
  241. "w": 1
  242. },
  243. "_lscale": {
  244. "__type__": "cc.Vec3",
  245. "x": 1,
  246. "y": 1,
  247. "z": 1
  248. },
  249. "_mobility": 0,
  250. "_layer": 33554432,
  251. "_euler": {
  252. "__type__": "cc.Vec3",
  253. "x": 0,
  254. "y": 0,
  255. "z": 0
  256. },
  257. "_id": "f0zKyIs6FI86pV9TkNGayl"
  258. },
  259. {
  260. "__type__": "cc.UITransform",
  261. "_name": "",
  262. "_objFlags": 0,
  263. "__editorExtras__": {},
  264. "node": {
  265. "__id__": 5
  266. },
  267. "_enabled": true,
  268. "__prefab": null,
  269. "_contentSize": {
  270. "__type__": "cc.Size",
  271. "width": 100,
  272. "height": 100
  273. },
  274. "_anchorPoint": {
  275. "__type__": "cc.Vec2",
  276. "x": 0.5,
  277. "y": 0.5
  278. },
  279. "_id": "22uw7028lNKYYq28p2Qxzy"
  280. },
  281. {
  282. "__type__": "cc.Node",
  283. "_name": "TestScene",
  284. "_objFlags": 0,
  285. "__editorExtras__": {},
  286. "_parent": {
  287. "__id__": 2
  288. },
  289. "_children": [],
  290. "_active": true,
  291. "_components": [
  292. {
  293. "__id__": 8
  294. }
  295. ],
  296. "_prefab": null,
  297. "_lpos": {
  298. "__type__": "cc.Vec3",
  299. "x": 0,
  300. "y": 0,
  301. "z": 0
  302. },
  303. "_lrot": {
  304. "__type__": "cc.Quat",
  305. "x": 0,
  306. "y": 0,
  307. "z": 0,
  308. "w": 1
  309. },
  310. "_lscale": {
  311. "__type__": "cc.Vec3",
  312. "x": 1,
  313. "y": 1,
  314. "z": 1
  315. },
  316. "_mobility": 0,
  317. "_layer": 33554432,
  318. "_euler": {
  319. "__type__": "cc.Vec3",
  320. "x": 0,
  321. "y": 0,
  322. "z": 0
  323. },
  324. "_id": "3apH3rtk9AJ7ceiVUbQ6ub"
  325. },
  326. {
  327. "__type__": "cc.UITransform",
  328. "_name": "",
  329. "_objFlags": 0,
  330. "__editorExtras__": {},
  331. "node": {
  332. "__id__": 7
  333. },
  334. "_enabled": true,
  335. "__prefab": null,
  336. "_contentSize": {
  337. "__type__": "cc.Size",
  338. "width": 100,
  339. "height": 100
  340. },
  341. "_anchorPoint": {
  342. "__type__": "cc.Vec2",
  343. "x": 0.5,
  344. "y": 0.5
  345. },
  346. "_id": "cfovpox/1MQpypNWWd/J2W"
  347. },
  348. {
  349. "__type__": "cc.Node",
  350. "_name": "WeaponTest",
  351. "_objFlags": 0,
  352. "__editorExtras__": {},
  353. "_parent": {
  354. "__id__": 2
  355. },
  356. "_children": [
  357. {
  358. "__id__": 10
  359. },
  360. {
  361. "__id__": 12
  362. }
  363. ],
  364. "_active": true,
  365. "_components": [
  366. {
  367. "__id__": 14
  368. }
  369. ],
  370. "_prefab": null,
  371. "_lpos": {
  372. "__type__": "cc.Vec3",
  373. "x": 0,
  374. "y": 0,
  375. "z": 0
  376. },
  377. "_lrot": {
  378. "__type__": "cc.Quat",
  379. "x": 0,
  380. "y": 0,
  381. "z": 0,
  382. "w": 1
  383. },
  384. "_lscale": {
  385. "__type__": "cc.Vec3",
  386. "x": 1,
  387. "y": 1,
  388. "z": 1
  389. },
  390. "_mobility": 0,
  391. "_layer": 33554432,
  392. "_euler": {
  393. "__type__": "cc.Vec3",
  394. "x": 0,
  395. "y": 0,
  396. "z": 0
  397. },
  398. "_id": "aaEqR4mG1BepRJ//DnLaQ1"
  399. },
  400. {
  401. "__type__": "cc.Node",
  402. "_name": "WeaponBlockExample",
  403. "_objFlags": 0,
  404. "__editorExtras__": {},
  405. "_parent": {
  406. "__id__": 9
  407. },
  408. "_children": [],
  409. "_active": true,
  410. "_components": [
  411. {
  412. "__id__": 11
  413. }
  414. ],
  415. "_prefab": null,
  416. "_lpos": {
  417. "__type__": "cc.Vec3",
  418. "x": 0,
  419. "y": 0,
  420. "z": 0
  421. },
  422. "_lrot": {
  423. "__type__": "cc.Quat",
  424. "x": 0,
  425. "y": 0,
  426. "z": 0,
  427. "w": 1
  428. },
  429. "_lscale": {
  430. "__type__": "cc.Vec3",
  431. "x": 1,
  432. "y": 1,
  433. "z": 1
  434. },
  435. "_mobility": 0,
  436. "_layer": 33554432,
  437. "_euler": {
  438. "__type__": "cc.Vec3",
  439. "x": 0,
  440. "y": 0,
  441. "z": 0
  442. },
  443. "_id": "8btBfVaMlG4YEWLd16PofE"
  444. },
  445. {
  446. "__type__": "cc.UITransform",
  447. "_name": "",
  448. "_objFlags": 0,
  449. "__editorExtras__": {},
  450. "node": {
  451. "__id__": 10
  452. },
  453. "_enabled": true,
  454. "__prefab": null,
  455. "_contentSize": {
  456. "__type__": "cc.Size",
  457. "width": 100,
  458. "height": 100
  459. },
  460. "_anchorPoint": {
  461. "__type__": "cc.Vec2",
  462. "x": 0.5,
  463. "y": 0.5
  464. },
  465. "_id": "8fJ0ObZ6tPgoXdZ4uQqk3K"
  466. },
  467. {
  468. "__type__": "cc.Node",
  469. "_name": "BlockContainer",
  470. "_objFlags": 0,
  471. "__editorExtras__": {},
  472. "_parent": {
  473. "__id__": 9
  474. },
  475. "_children": [],
  476. "_active": true,
  477. "_components": [
  478. {
  479. "__id__": 13
  480. }
  481. ],
  482. "_prefab": null,
  483. "_lpos": {
  484. "__type__": "cc.Vec3",
  485. "x": 0,
  486. "y": 0,
  487. "z": 0
  488. },
  489. "_lrot": {
  490. "__type__": "cc.Quat",
  491. "x": 0,
  492. "y": 0,
  493. "z": 0,
  494. "w": 1
  495. },
  496. "_lscale": {
  497. "__type__": "cc.Vec3",
  498. "x": 1,
  499. "y": 1,
  500. "z": 1
  501. },
  502. "_mobility": 0,
  503. "_layer": 33554432,
  504. "_euler": {
  505. "__type__": "cc.Vec3",
  506. "x": 0,
  507. "y": 0,
  508. "z": 0
  509. },
  510. "_id": "b4Ma/xnCdMKo0SobyaMedl"
  511. },
  512. {
  513. "__type__": "cc.UITransform",
  514. "_name": "",
  515. "_objFlags": 0,
  516. "__editorExtras__": {},
  517. "node": {
  518. "__id__": 12
  519. },
  520. "_enabled": true,
  521. "__prefab": null,
  522. "_contentSize": {
  523. "__type__": "cc.Size",
  524. "width": 100,
  525. "height": 100
  526. },
  527. "_anchorPoint": {
  528. "__type__": "cc.Vec2",
  529. "x": 0.5,
  530. "y": 0.5
  531. },
  532. "_id": "90N6uhDTJPbIghCd3GGoW1"
  533. },
  534. {
  535. "__type__": "cc.UITransform",
  536. "_name": "",
  537. "_objFlags": 0,
  538. "__editorExtras__": {},
  539. "node": {
  540. "__id__": 9
  541. },
  542. "_enabled": true,
  543. "__prefab": null,
  544. "_contentSize": {
  545. "__type__": "cc.Size",
  546. "width": 100,
  547. "height": 100
  548. },
  549. "_anchorPoint": {
  550. "__type__": "cc.Vec2",
  551. "x": 0.5,
  552. "y": 0.5
  553. },
  554. "_id": "ce8uIBet1JdoKaW95g6Cxw"
  555. },
  556. {
  557. "__type__": "cc.UITransform",
  558. "_name": "",
  559. "_objFlags": 0,
  560. "__editorExtras__": {},
  561. "node": {
  562. "__id__": 2
  563. },
  564. "_enabled": true,
  565. "__prefab": null,
  566. "_contentSize": {
  567. "__type__": "cc.Size",
  568. "width": 719.9999999999999,
  569. "height": 1334
  570. },
  571. "_anchorPoint": {
  572. "__type__": "cc.Vec2",
  573. "x": 0.5,
  574. "y": 0.5
  575. },
  576. "_id": "d6rUX5yfhMlKoWX2bSbawx"
  577. },
  578. {
  579. "__type__": "cc.Canvas",
  580. "_name": "",
  581. "_objFlags": 0,
  582. "__editorExtras__": {},
  583. "node": {
  584. "__id__": 2
  585. },
  586. "_enabled": true,
  587. "__prefab": null,
  588. "_cameraComponent": {
  589. "__id__": 4
  590. },
  591. "_alignCanvasWithScreen": true,
  592. "_id": "12O/ljcVlEqLmVm3U2gEOQ"
  593. },
  594. {
  595. "__type__": "cc.Widget",
  596. "_name": "",
  597. "_objFlags": 0,
  598. "__editorExtras__": {},
  599. "node": {
  600. "__id__": 2
  601. },
  602. "_enabled": true,
  603. "__prefab": null,
  604. "_alignFlags": 45,
  605. "_target": null,
  606. "_left": 0,
  607. "_right": 0,
  608. "_top": 5.684341886080802e-14,
  609. "_bottom": 5.684341886080802e-14,
  610. "_horizontalCenter": 0,
  611. "_verticalCenter": 0,
  612. "_isAbsLeft": true,
  613. "_isAbsRight": true,
  614. "_isAbsTop": true,
  615. "_isAbsBottom": true,
  616. "_isAbsHorizontalCenter": true,
  617. "_isAbsVerticalCenter": true,
  618. "_originalWidth": 0,
  619. "_originalHeight": 0,
  620. "_alignMode": 2,
  621. "_lockFlags": 0,
  622. "_id": "c5V1EV8IpMtrIvY1OE9t2u"
  623. },
  624. {
  625. "__type__": "cc.SceneGlobals",
  626. "ambient": {
  627. "__id__": 19
  628. },
  629. "shadows": {
  630. "__id__": 20
  631. },
  632. "_skybox": {
  633. "__id__": 21
  634. },
  635. "fog": {
  636. "__id__": 22
  637. },
  638. "octree": {
  639. "__id__": 23
  640. },
  641. "skin": {
  642. "__id__": 24
  643. },
  644. "lightProbeInfo": {
  645. "__id__": 25
  646. },
  647. "postSettings": {
  648. "__id__": 26
  649. },
  650. "bakedWithStationaryMainLight": false,
  651. "bakedWithHighpLightmap": false
  652. },
  653. {
  654. "__type__": "cc.AmbientInfo",
  655. "_skyColorHDR": {
  656. "__type__": "cc.Vec4",
  657. "x": 0,
  658. "y": 0,
  659. "z": 0,
  660. "w": 0.520833125
  661. },
  662. "_skyColor": {
  663. "__type__": "cc.Vec4",
  664. "x": 0,
  665. "y": 0,
  666. "z": 0,
  667. "w": 0.520833125
  668. },
  669. "_skyIllumHDR": 20000,
  670. "_skyIllum": 20000,
  671. "_groundAlbedoHDR": {
  672. "__type__": "cc.Vec4",
  673. "x": 0,
  674. "y": 0,
  675. "z": 0,
  676. "w": 0
  677. },
  678. "_groundAlbedo": {
  679. "__type__": "cc.Vec4",
  680. "x": 0,
  681. "y": 0,
  682. "z": 0,
  683. "w": 0
  684. },
  685. "_skyColorLDR": {
  686. "__type__": "cc.Vec4",
  687. "x": 0.2,
  688. "y": 0.5,
  689. "z": 0.8,
  690. "w": 1
  691. },
  692. "_skyIllumLDR": 20000,
  693. "_groundAlbedoLDR": {
  694. "__type__": "cc.Vec4",
  695. "x": 0.2,
  696. "y": 0.2,
  697. "z": 0.2,
  698. "w": 1
  699. }
  700. },
  701. {
  702. "__type__": "cc.ShadowsInfo",
  703. "_enabled": false,
  704. "_type": 0,
  705. "_normal": {
  706. "__type__": "cc.Vec3",
  707. "x": 0,
  708. "y": 1,
  709. "z": 0
  710. },
  711. "_distance": 0,
  712. "_planeBias": 1,
  713. "_shadowColor": {
  714. "__type__": "cc.Color",
  715. "r": 76,
  716. "g": 76,
  717. "b": 76,
  718. "a": 255
  719. },
  720. "_maxReceived": 4,
  721. "_size": {
  722. "__type__": "cc.Vec2",
  723. "x": 512,
  724. "y": 512
  725. }
  726. },
  727. {
  728. "__type__": "cc.SkyboxInfo",
  729. "_envLightingType": 0,
  730. "_envmapHDR": null,
  731. "_envmap": null,
  732. "_envmapLDR": null,
  733. "_diffuseMapHDR": null,
  734. "_diffuseMapLDR": null,
  735. "_enabled": false,
  736. "_useHDR": true,
  737. "_editableMaterial": null,
  738. "_reflectionHDR": null,
  739. "_reflectionLDR": null,
  740. "_rotationAngle": 0
  741. },
  742. {
  743. "__type__": "cc.FogInfo",
  744. "_type": 0,
  745. "_fogColor": {
  746. "__type__": "cc.Color",
  747. "r": 200,
  748. "g": 200,
  749. "b": 200,
  750. "a": 255
  751. },
  752. "_enabled": false,
  753. "_fogDensity": 0.3,
  754. "_fogStart": 0.5,
  755. "_fogEnd": 300,
  756. "_fogAtten": 5,
  757. "_fogTop": 1.5,
  758. "_fogRange": 1.2,
  759. "_accurate": false
  760. },
  761. {
  762. "__type__": "cc.OctreeInfo",
  763. "_enabled": false,
  764. "_minPos": {
  765. "__type__": "cc.Vec3",
  766. "x": -1024,
  767. "y": -1024,
  768. "z": -1024
  769. },
  770. "_maxPos": {
  771. "__type__": "cc.Vec3",
  772. "x": 1024,
  773. "y": 1024,
  774. "z": 1024
  775. },
  776. "_depth": 8
  777. },
  778. {
  779. "__type__": "cc.SkinInfo",
  780. "_enabled": false,
  781. "_blurRadius": 0.01,
  782. "_sssIntensity": 3
  783. },
  784. {
  785. "__type__": "cc.LightProbeInfo",
  786. "_giScale": 1,
  787. "_giSamples": 1024,
  788. "_bounces": 2,
  789. "_reduceRinging": 0,
  790. "_showProbe": true,
  791. "_showWireframe": true,
  792. "_showConvex": false,
  793. "_data": null,
  794. "_lightProbeSphereVolume": 1
  795. },
  796. {
  797. "__type__": "cc.PostSettingsInfo",
  798. "_toneMappingType": 0
  799. }
  800. ]