scene-test.scene 14 KB

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