3
0

LY_SC_UnitTest_AddMatrix.scriptcanvas 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "ScriptCanvasData",
  5. "ClassData": {
  6. "m_scriptCanvas": {
  7. "Id": {
  8. "id": 627022978264962
  9. },
  10. "Name": "Test_Add_Matrix",
  11. "Components": {
  12. "Component_[13905626219609144253]": {
  13. "$type": "EditorGraph",
  14. "Id": 13905626219609144253,
  15. "m_graphData": {
  16. "m_nodes": [
  17. {
  18. "Id": {
  19. "id": 627027273232258
  20. },
  21. "Name": "SC-Node(Start)",
  22. "Components": {
  23. "Component_[10239899862829517005]": {
  24. "$type": "Start",
  25. "Id": 10239899862829517005,
  26. "Slots": [
  27. {
  28. "id": {
  29. "m_id": "{60FB4A0C-FF1D-4635-9D2D-270E888E8AED}"
  30. },
  31. "contracts": [
  32. {
  33. "$type": "SlotTypeContract"
  34. }
  35. ],
  36. "slotName": "Out",
  37. "toolTip": "Signaled when the entity that owns this graph is fully activated.",
  38. "Descriptor": {
  39. "ConnectionType": 2,
  40. "SlotType": 1
  41. }
  42. }
  43. ]
  44. }
  45. }
  46. },
  47. {
  48. "Id": {
  49. "id": 627031568199554
  50. },
  51. "Name": "SC-Node(OperatorAdd)",
  52. "Components": {
  53. "Component_[12129025194307182894]": {
  54. "$type": "OperatorAdd",
  55. "Id": 12129025194307182894,
  56. "Slots": [
  57. {
  58. "id": {
  59. "m_id": "{AAECB78E-F740-44EE-82EA-5A283F2E3CF0}"
  60. },
  61. "contracts": [
  62. {
  63. "$type": "SlotTypeContract"
  64. }
  65. ],
  66. "slotName": "In",
  67. "Descriptor": {
  68. "ConnectionType": 1,
  69. "SlotType": 1
  70. }
  71. },
  72. {
  73. "id": {
  74. "m_id": "{4236E7FF-2618-43A5-82F3-CEA290B7CC06}"
  75. },
  76. "contracts": [
  77. {
  78. "$type": "SlotTypeContract"
  79. }
  80. ],
  81. "slotName": "Out",
  82. "Descriptor": {
  83. "ConnectionType": 2,
  84. "SlotType": 1
  85. }
  86. },
  87. {
  88. "id": {
  89. "m_id": "{F1F46BF7-1C06-4648-8EFB-160617BC0C16}"
  90. },
  91. "DynamicTypeOverride": 3,
  92. "contracts": [
  93. {
  94. "$type": "SlotTypeContract"
  95. },
  96. null,
  97. {
  98. "$type": "MathOperatorContract",
  99. "NativeTypes": [
  100. {
  101. "m_type": 3
  102. },
  103. {
  104. "m_type": 6
  105. },
  106. {
  107. "m_type": 8
  108. },
  109. {
  110. "m_type": 9
  111. },
  112. {
  113. "m_type": 10
  114. },
  115. {
  116. "m_type": 11
  117. },
  118. {
  119. "m_type": 12
  120. },
  121. {
  122. "m_type": 14
  123. },
  124. {
  125. "m_type": 15
  126. }
  127. ]
  128. }
  129. ],
  130. "slotName": "Matrix3x3 0",
  131. "toolTip": "An operand to use in performing the specified Operation",
  132. "DisplayDataType": {
  133. "m_type": 14
  134. },
  135. "DisplayGroup": {
  136. "Value": 1114760223
  137. },
  138. "Descriptor": {
  139. "ConnectionType": 1,
  140. "SlotType": 2
  141. },
  142. "DynamicGroup": {
  143. "Value": 1114760223
  144. },
  145. "DataType": 1,
  146. "IsReference": true,
  147. "VariableReference": {
  148. "m_id": "{11449E0D-AD5B-4272-9B26-AFBAF5CA1B1B}"
  149. }
  150. },
  151. {
  152. "id": {
  153. "m_id": "{7CB53327-081A-4E28-92E5-E227626D6433}"
  154. },
  155. "DynamicTypeOverride": 3,
  156. "contracts": [
  157. {
  158. "$type": "SlotTypeContract"
  159. },
  160. null,
  161. {
  162. "$type": "MathOperatorContract",
  163. "NativeTypes": [
  164. {
  165. "m_type": 3
  166. },
  167. {
  168. "m_type": 6
  169. },
  170. {
  171. "m_type": 8
  172. },
  173. {
  174. "m_type": 9
  175. },
  176. {
  177. "m_type": 10
  178. },
  179. {
  180. "m_type": 11
  181. },
  182. {
  183. "m_type": 12
  184. },
  185. {
  186. "m_type": 14
  187. },
  188. {
  189. "m_type": 15
  190. }
  191. ]
  192. }
  193. ],
  194. "slotName": "Matrix3x3 1",
  195. "toolTip": "An operand to use in performing the specified Operation",
  196. "DisplayDataType": {
  197. "m_type": 14
  198. },
  199. "DisplayGroup": {
  200. "Value": 1114760223
  201. },
  202. "Descriptor": {
  203. "ConnectionType": 1,
  204. "SlotType": 2
  205. },
  206. "DynamicGroup": {
  207. "Value": 1114760223
  208. },
  209. "DataType": 1,
  210. "IsReference": true,
  211. "VariableReference": {
  212. "m_id": "{11449E0D-AD5B-4272-9B26-AFBAF5CA1B1B}"
  213. }
  214. },
  215. {
  216. "id": {
  217. "m_id": "{8D5C227E-63A6-4E9A-90E2-C48B0D5677BB}"
  218. },
  219. "DynamicTypeOverride": 3,
  220. "contracts": [
  221. {
  222. "$type": "SlotTypeContract"
  223. },
  224. {
  225. "$type": "MathOperatorContract",
  226. "NativeTypes": [
  227. {
  228. "m_type": 3
  229. },
  230. {
  231. "m_type": 6
  232. },
  233. {
  234. "m_type": 8
  235. },
  236. {
  237. "m_type": 9
  238. },
  239. {
  240. "m_type": 10
  241. },
  242. {
  243. "m_type": 11
  244. },
  245. {
  246. "m_type": 12
  247. },
  248. {
  249. "m_type": 14
  250. },
  251. {
  252. "m_type": 15
  253. }
  254. ]
  255. }
  256. ],
  257. "slotName": "Result",
  258. "toolTip": "The result of the specified operation",
  259. "DisplayDataType": {
  260. "m_type": 14
  261. },
  262. "DisplayGroup": {
  263. "Value": 1114760223
  264. },
  265. "Descriptor": {
  266. "ConnectionType": 2,
  267. "SlotType": 2
  268. },
  269. "DynamicGroup": {
  270. "Value": 1114760223
  271. },
  272. "DataType": 1,
  273. "IsReference": true,
  274. "VariableReference": {
  275. "m_id": "{11449E0D-AD5B-4272-9B26-AFBAF5CA1B1B}"
  276. }
  277. }
  278. ],
  279. "Datums": [
  280. {
  281. "isOverloadedStorage": false,
  282. "scriptCanvasType": {
  283. "m_type": 14
  284. },
  285. "isNullPointer": false,
  286. "$type": "Matrix3x3",
  287. "value": [
  288. 1.0,
  289. 0.0,
  290. 0.0,
  291. 0.0,
  292. 1.0,
  293. 0.0,
  294. 0.0,
  295. 0.0,
  296. 1.0
  297. ],
  298. "label": "Matrix3x3 0"
  299. },
  300. {
  301. "isOverloadedStorage": false,
  302. "scriptCanvasType": {
  303. "m_type": 14
  304. },
  305. "isNullPointer": false,
  306. "$type": "Matrix3x3",
  307. "value": [
  308. 1.0,
  309. 0.0,
  310. 0.0,
  311. 0.0,
  312. 1.0,
  313. 0.0,
  314. 0.0,
  315. 0.0,
  316. 1.0
  317. ],
  318. "label": "Matrix3x3 1"
  319. }
  320. ]
  321. }
  322. }
  323. },
  324. {
  325. "Id": {
  326. "id": 627035863166850
  327. },
  328. "Name": "SC-Node(MarkComplete)",
  329. "Components": {
  330. "Component_[12294200456641711077]": {
  331. "$type": "{E42861BD-1956-45AE-8DD7-CCFC1E3E5ACF} Method",
  332. "Id": 12294200456641711077,
  333. "Slots": [
  334. {
  335. "isVisibile": false,
  336. "id": {
  337. "m_id": "{086D796E-55A4-4428-A8EF-40B580CEA813}"
  338. },
  339. "contracts": [
  340. {
  341. "$type": "SlotTypeContract"
  342. },
  343. null
  344. ],
  345. "slotName": "EntityID: 0",
  346. "Descriptor": {
  347. "ConnectionType": 1,
  348. "SlotType": 2
  349. },
  350. "DataType": 1
  351. },
  352. {
  353. "id": {
  354. "m_id": "{3ACBD8E0-4855-420F-AE67-70E7743DE344}"
  355. },
  356. "contracts": [
  357. {
  358. "$type": "SlotTypeContract"
  359. },
  360. null
  361. ],
  362. "slotName": "Report",
  363. "toolTip": "additional notes for the test report",
  364. "DisplayDataType": {
  365. "m_type": 5
  366. },
  367. "Descriptor": {
  368. "ConnectionType": 1,
  369. "SlotType": 2
  370. },
  371. "DataType": 1
  372. },
  373. {
  374. "id": {
  375. "m_id": "{3E79A0DC-83EC-461B-ABD9-B0319362A9D8}"
  376. },
  377. "contracts": [
  378. {
  379. "$type": "SlotTypeContract"
  380. }
  381. ],
  382. "slotName": "In",
  383. "Descriptor": {
  384. "ConnectionType": 1,
  385. "SlotType": 1
  386. }
  387. },
  388. {
  389. "id": {
  390. "m_id": "{2D00E339-B56B-49F7-B301-66C11287BD9F}"
  391. },
  392. "contracts": [
  393. {
  394. "$type": "SlotTypeContract"
  395. }
  396. ],
  397. "slotName": "Out",
  398. "Descriptor": {
  399. "ConnectionType": 2,
  400. "SlotType": 1
  401. }
  402. }
  403. ],
  404. "Datums": [
  405. {
  406. "isOverloadedStorage": false,
  407. "scriptCanvasType": {
  408. "m_type": 1
  409. },
  410. "isNullPointer": false,
  411. "$type": "EntityId",
  412. "value": {
  413. "id": 4276206253
  414. }
  415. },
  416. {
  417. "isOverloadedStorage": false,
  418. "scriptCanvasType": {
  419. "m_type": 5
  420. },
  421. "isNullPointer": false,
  422. "$type": "{03AAAB3F-5C47-5A66-9EBC-D5FA4DB353C9} AZStd::string",
  423. "value": "",
  424. "label": "Report"
  425. }
  426. ],
  427. "methodType": 2,
  428. "methodName": "Mark Complete",
  429. "className": "Unit Testing",
  430. "resultSlotIDs": [
  431. {}
  432. ],
  433. "prettyClassName": "Unit Testing"
  434. }
  435. }
  436. },
  437. {
  438. "Id": {
  439. "id": 715769887502210
  440. },
  441. "Name": "SC-Node(Start)",
  442. "Components": {
  443. "Component_[14482367629611817406]": {
  444. "$type": "Start",
  445. "Id": 14482367629611817406,
  446. "Slots": [
  447. {
  448. "id": {
  449. "m_id": "{F804370E-2D74-4CE5-9A78-497CCC6AEBE5}"
  450. },
  451. "contracts": [
  452. {
  453. "$type": "SlotTypeContract"
  454. }
  455. ],
  456. "slotName": "Out",
  457. "toolTip": "Signaled when the entity that owns this graph is fully activated.",
  458. "Descriptor": {
  459. "ConnectionType": 2,
  460. "SlotType": 1
  461. }
  462. }
  463. ]
  464. }
  465. }
  466. }
  467. ],
  468. "m_connections": [
  469. {
  470. "Id": {
  471. "id": 716207974166402
  472. },
  473. "Name": "srcEndpoint=(On Graph Start: Out), destEndpoint=(Add (+): In)",
  474. "Components": {
  475. "Component_[714224758703565405]": {
  476. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  477. "Id": 714224758703565405,
  478. "sourceEndpoint": {
  479. "nodeId": {
  480. "id": 715769887502210
  481. },
  482. "slotId": {
  483. "m_id": "{F804370E-2D74-4CE5-9A78-497CCC6AEBE5}"
  484. }
  485. },
  486. "targetEndpoint": {
  487. "nodeId": {
  488. "id": 627031568199554
  489. },
  490. "slotId": {
  491. "m_id": "{AAECB78E-F740-44EE-82EA-5A283F2E3CF0}"
  492. }
  493. }
  494. }
  495. }
  496. },
  497. {
  498. "Id": {
  499. "id": 717573773766530
  500. },
  501. "Name": "srcEndpoint=(Add (+): Out), destEndpoint=(Mark Complete: In)",
  502. "Components": {
  503. "Component_[13585252579291438976]": {
  504. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  505. "Id": 13585252579291438976,
  506. "sourceEndpoint": {
  507. "nodeId": {
  508. "id": 627031568199554
  509. },
  510. "slotId": {
  511. "m_id": "{4236E7FF-2618-43A5-82F3-CEA290B7CC06}"
  512. }
  513. },
  514. "targetEndpoint": {
  515. "nodeId": {
  516. "id": 627035863166850
  517. },
  518. "slotId": {
  519. "m_id": "{3E79A0DC-83EC-461B-ABD9-B0319362A9D8}"
  520. }
  521. }
  522. }
  523. }
  524. }
  525. ]
  526. },
  527. "m_assetType": "{3E2AC8CD-713F-453E-967F-29517F331784}",
  528. "versionData": {
  529. "_grammarVersion": 1,
  530. "_runtimeVersion": 1,
  531. "_fileVersion": 1
  532. },
  533. "m_variableCounter": 4,
  534. "GraphCanvasData": [
  535. {
  536. "Key": {
  537. "id": 627022978264962
  538. },
  539. "Value": {
  540. "ComponentData": {
  541. "{5F84B500-8C45-40D1-8EFC-A5306B241444}": {
  542. "$type": "SceneComponentSaveData",
  543. "ViewParams": {
  544. "Scale": 0.8716674,
  545. "AnchorX": 675.7164306640625,
  546. "AnchorY": -503.6324768066406
  547. }
  548. }
  549. }
  550. }
  551. },
  552. {
  553. "Key": {
  554. "id": 627027273232258
  555. },
  556. "Value": {
  557. "ComponentData": {
  558. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  559. "$type": "GeneralNodeTitleComponentSaveData",
  560. "PaletteOverride": "TimeNodeTitlePalette"
  561. },
  562. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  563. "$type": "GeometrySaveData",
  564. "Position": [
  565. -1460.0,
  566. 380.0
  567. ]
  568. },
  569. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  570. "$type": "StylingComponentSaveData",
  571. "SubStyle": ".time"
  572. },
  573. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  574. "$type": "PersistentIdComponentSaveData",
  575. "PersistentId": "{D4BF43B0-111F-4FA8-961F-F292E9CC2BF4}"
  576. }
  577. }
  578. }
  579. },
  580. {
  581. "Key": {
  582. "id": 627031568199554
  583. },
  584. "Value": {
  585. "ComponentData": {
  586. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  587. "$type": "GeneralNodeTitleComponentSaveData",
  588. "PaletteOverride": "MathNodeTitlePalette"
  589. },
  590. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  591. "$type": "GeometrySaveData",
  592. "Position": [
  593. 1200.0,
  594. -60.0
  595. ]
  596. },
  597. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  598. "$type": "StylingComponentSaveData",
  599. "SubStyle": ".math"
  600. },
  601. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  602. "$type": "PersistentIdComponentSaveData",
  603. "PersistentId": "{99089B6C-D9F2-4937-9FE7-D0806421C468}"
  604. }
  605. }
  606. }
  607. },
  608. {
  609. "Key": {
  610. "id": 627035863166850
  611. },
  612. "Value": {
  613. "ComponentData": {
  614. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  615. "$type": "NodeSaveData"
  616. },
  617. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  618. "$type": "GeneralNodeTitleComponentSaveData",
  619. "PaletteOverride": "TestingNodeTitlePalette"
  620. },
  621. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  622. "$type": "GeometrySaveData",
  623. "Position": [
  624. 1880.0,
  625. -80.0
  626. ]
  627. },
  628. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  629. "$type": "StylingComponentSaveData",
  630. "SubStyle": ".method"
  631. },
  632. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  633. "$type": "PersistentIdComponentSaveData",
  634. "PersistentId": "{18A48C1D-3B1E-406C-AFB5-BAFF747471B9}"
  635. }
  636. }
  637. }
  638. },
  639. {
  640. "Key": {
  641. "id": 715769887502210
  642. },
  643. "Value": {
  644. "ComponentData": {
  645. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  646. "$type": "NodeSaveData"
  647. },
  648. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  649. "$type": "GeneralNodeTitleComponentSaveData",
  650. "PaletteOverride": "TimeNodeTitlePalette"
  651. },
  652. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  653. "$type": "GeometrySaveData",
  654. "Position": [
  655. 940.0,
  656. -80.0
  657. ]
  658. },
  659. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  660. "$type": "StylingComponentSaveData"
  661. },
  662. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  663. "$type": "PersistentIdComponentSaveData",
  664. "PersistentId": "{FD317B64-82A6-4FE3-97E8-02B6E48C710F}"
  665. }
  666. }
  667. }
  668. }
  669. ],
  670. "StatisticsHelper": {
  671. "InstanceCounter": [
  672. {
  673. "Key": 1244476766431948410,
  674. "Value": 1
  675. },
  676. {
  677. "Key": 4199610336680704683,
  678. "Value": 2
  679. },
  680. {
  681. "Key": 10204019744198319120,
  682. "Value": 1
  683. }
  684. ]
  685. }
  686. },
  687. "Component_[8753326441518583975]": {
  688. "$type": "EditorGraphVariableManagerComponent",
  689. "Id": 8753326441518583975,
  690. "m_variableData": {
  691. "m_nameVariableMap": [
  692. {
  693. "Key": {
  694. "m_id": "{11449E0D-AD5B-4272-9B26-AFBAF5CA1B1B}"
  695. },
  696. "Value": {
  697. "Datum": {
  698. "isOverloadedStorage": false,
  699. "scriptCanvasType": {
  700. "m_type": 14
  701. },
  702. "isNullPointer": false,
  703. "$type": "Matrix3x3",
  704. "value": [
  705. 1.0,
  706. 0.0,
  707. 0.0,
  708. 0.0,
  709. 1.0,
  710. 0.0,
  711. 0.0,
  712. 0.0,
  713. 1.0
  714. ]
  715. },
  716. "VariableId": {
  717. "m_id": "{11449E0D-AD5B-4272-9B26-AFBAF5CA1B1B}"
  718. },
  719. "VariableName": "Variable 4"
  720. }
  721. }
  722. ]
  723. }
  724. }
  725. }
  726. }
  727. }
  728. }