3
0

LY_SC_UnitTest_ClassWithDefaultOut.scriptcanvas 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667
  1. {
  2. "Type": "JsonSerialization",
  3. "Version": 1,
  4. "ClassName": "ScriptCanvasData",
  5. "ClassData": {
  6. "m_scriptCanvas": {
  7. "Id": {
  8. "id": 13688647770581
  9. },
  10. "Name": "Script Canvas Graph",
  11. "Components": {
  12. "Component_[14524413465557055748]": {
  13. "$type": "EditorGraphVariableManagerComponent",
  14. "Id": 14524413465557055748,
  15. "m_variableData": {
  16. "m_nameVariableMap": [
  17. {
  18. "Key": {
  19. "m_id": "{16B7C1D1-1D12-46B5-8BD5-8553E7ABDD15}"
  20. },
  21. "Value": {
  22. "Datum": {
  23. "scriptCanvasType": {
  24. "m_type": 3
  25. },
  26. "isNullPointer": false,
  27. "$type": "double",
  28. "value": 0.0
  29. },
  30. "VariableId": {
  31. "m_id": "{16B7C1D1-1D12-46B5-8BD5-8553E7ABDD15}"
  32. },
  33. "VariableName": "inputA",
  34. "Scope": 1
  35. }
  36. },
  37. {
  38. "Key": {
  39. "m_id": "{1C54C10E-6AE6-443F-8C7D-E2FFD1A39362}"
  40. },
  41. "Value": {
  42. "Datum": {
  43. "scriptCanvasType": {
  44. "m_type": 3
  45. },
  46. "isNullPointer": false,
  47. "$type": "double",
  48. "value": 0.0
  49. },
  50. "VariableId": {
  51. "m_id": "{1C54C10E-6AE6-443F-8C7D-E2FFD1A39362}"
  52. },
  53. "VariableName": "inputB",
  54. "Scope": 1
  55. }
  56. },
  57. {
  58. "Key": {
  59. "m_id": "{29190C2E-2608-4BB8-A06F-A097E09BE2C3}"
  60. },
  61. "Value": {
  62. "Datum": {
  63. "scriptCanvasType": {
  64. "m_type": 0
  65. },
  66. "isNullPointer": false,
  67. "$type": "bool",
  68. "value": false,
  69. "label": "result"
  70. },
  71. "VariableId": {
  72. "m_id": "{29190C2E-2608-4BB8-A06F-A097E09BE2C3}"
  73. },
  74. "VariableName": "result",
  75. "Scope": 1
  76. }
  77. }
  78. ]
  79. }
  80. },
  81. "Component_[41620361587374293]": {
  82. "$type": "EditorGraph",
  83. "Id": 41620361587374293,
  84. "m_graphData": {
  85. "m_nodes": [
  86. {
  87. "Id": {
  88. "id": 13692942737877
  89. },
  90. "Name": "SC-Node(FunctionDefinitionNode)",
  91. "Components": {
  92. "Component_[6391281867446069872]": {
  93. "$type": "FunctionDefinitionNode",
  94. "Id": 6391281867446069872,
  95. "Slots": [
  96. {
  97. "id": {
  98. "m_id": "{49CE95C1-AAB2-4F3C-A017-B9988EBDDFB6}"
  99. },
  100. "contracts": [
  101. {
  102. "$type": "SlotTypeContract"
  103. },
  104. {
  105. "$type": "DisplayGroupConnectedSlotLimitContract",
  106. "limit": 1,
  107. "displayGroup": "NodelingSlotDisplayGroup",
  108. "errorMessage": "Execution nodes can only be connected to either the Input or Output, and not both at the same time."
  109. },
  110. {
  111. "$type": "DisallowReentrantExecutionContract"
  112. }
  113. ],
  114. "slotName": " ",
  115. "DisplayGroup": {
  116. "Value": 3992535411
  117. },
  118. "Descriptor": {
  119. "ConnectionType": 1,
  120. "SlotType": 1
  121. }
  122. },
  123. {
  124. "isVisibile": false,
  125. "id": {
  126. "m_id": "{E111CF93-F3D8-4389-8DE9-898A5960333D}"
  127. },
  128. "contracts": [
  129. {
  130. "$type": "SlotTypeContract"
  131. },
  132. {
  133. "$type": "DisplayGroupConnectedSlotLimitContract",
  134. "limit": 1,
  135. "displayGroup": "NodelingSlotDisplayGroup",
  136. "errorMessage": "Execution nodes can only be connected to either the Input or Output, and not both at the same time."
  137. }
  138. ],
  139. "slotName": " ",
  140. "DisplayGroup": {
  141. "Value": 3992535411
  142. },
  143. "Descriptor": {
  144. "ConnectionType": 2,
  145. "SlotType": 1
  146. }
  147. },
  148. {
  149. "id": {
  150. "m_id": "{5878A300-5E31-4EAE-BD26-2EC8DF5A4979}"
  151. },
  152. "DynamicTypeOverride": 3,
  153. "contracts": [
  154. {
  155. "$type": "SlotTypeContract"
  156. }
  157. ],
  158. "slotName": "result",
  159. "DisplayDataType": {
  160. "m_type": 0
  161. },
  162. "DisplayGroup": {
  163. "Value": 452080683
  164. },
  165. "Descriptor": {
  166. "ConnectionType": 1,
  167. "SlotType": 2
  168. },
  169. "DataType": 1,
  170. "IsReference": true,
  171. "VariableReference": {
  172. "m_id": "{29190C2E-2608-4BB8-A06F-A097E09BE2C3}"
  173. },
  174. "IsUserAdded": true
  175. }
  176. ],
  177. "Datums": [
  178. {
  179. "scriptCanvasType": {
  180. "m_type": 0
  181. },
  182. "isNullPointer": false,
  183. "$type": "bool",
  184. "value": false,
  185. "label": "result"
  186. }
  187. ],
  188. "m_displayName": "Is Greater",
  189. "m_identifier": "{FCCDD64B-1FFB-4A7A-A940-EBCF9CA417F2}",
  190. "m_isExecutionEntry": false
  191. }
  192. }
  193. },
  194. {
  195. "Id": {
  196. "id": 13697237705173
  197. },
  198. "Name": "SC-Node(FunctionDefinitionNode)",
  199. "Components": {
  200. "Component_[9576100092032528460]": {
  201. "$type": "FunctionDefinitionNode",
  202. "Id": 9576100092032528460,
  203. "Slots": [
  204. {
  205. "isVisibile": false,
  206. "id": {
  207. "m_id": "{2A3712B2-714E-495E-9F28-C21EBC1D5966}"
  208. },
  209. "contracts": [
  210. {
  211. "$type": "SlotTypeContract"
  212. },
  213. {
  214. "$type": "DisplayGroupConnectedSlotLimitContract",
  215. "limit": 1,
  216. "displayGroup": "NodelingSlotDisplayGroup",
  217. "errorMessage": "Execution nodes can only be connected to either the Input or Output, and not both at the same time."
  218. },
  219. {
  220. "$type": "DisallowReentrantExecutionContract"
  221. }
  222. ],
  223. "slotName": " ",
  224. "DisplayGroup": {
  225. "Value": 3992535411
  226. },
  227. "Descriptor": {
  228. "ConnectionType": 1,
  229. "SlotType": 1
  230. }
  231. },
  232. {
  233. "id": {
  234. "m_id": "{D75CDADF-0701-41C3-9A51-37A9D787CC82}"
  235. },
  236. "contracts": [
  237. {
  238. "$type": "SlotTypeContract"
  239. },
  240. {
  241. "$type": "DisplayGroupConnectedSlotLimitContract",
  242. "limit": 1,
  243. "displayGroup": "NodelingSlotDisplayGroup",
  244. "errorMessage": "Execution nodes can only be connected to either the Input or Output, and not both at the same time."
  245. }
  246. ],
  247. "slotName": " ",
  248. "DisplayGroup": {
  249. "Value": 3992535411
  250. },
  251. "Descriptor": {
  252. "ConnectionType": 2,
  253. "SlotType": 1
  254. }
  255. },
  256. {
  257. "id": {
  258. "m_id": "{B25AB1AB-CDF0-477F-B67B-68A83AC4E275}"
  259. },
  260. "DynamicTypeOverride": 3,
  261. "contracts": [
  262. {
  263. "$type": "SlotTypeContract"
  264. }
  265. ],
  266. "slotName": "inputA",
  267. "DisplayDataType": {
  268. "m_type": 3
  269. },
  270. "DisplayGroup": {
  271. "Value": 452080683
  272. },
  273. "Descriptor": {
  274. "ConnectionType": 2,
  275. "SlotType": 2
  276. },
  277. "DataType": 1,
  278. "IsReference": true,
  279. "VariableReference": {
  280. "m_id": "{16B7C1D1-1D12-46B5-8BD5-8553E7ABDD15}"
  281. },
  282. "IsUserAdded": true
  283. },
  284. {
  285. "id": {
  286. "m_id": "{DE4EDA2D-9BFE-4E59-8943-552235E2B8A3}"
  287. },
  288. "DynamicTypeOverride": 3,
  289. "contracts": [
  290. {
  291. "$type": "SlotTypeContract"
  292. }
  293. ],
  294. "slotName": "inputB",
  295. "DisplayDataType": {
  296. "m_type": 3
  297. },
  298. "DisplayGroup": {
  299. "Value": 452080683
  300. },
  301. "Descriptor": {
  302. "ConnectionType": 2,
  303. "SlotType": 2
  304. },
  305. "DataType": 1,
  306. "IsReference": true,
  307. "VariableReference": {
  308. "m_id": "{1C54C10E-6AE6-443F-8C7D-E2FFD1A39362}"
  309. },
  310. "IsUserAdded": true
  311. }
  312. ],
  313. "m_displayName": "New Input",
  314. "m_identifier": "{A1680AF5-E10C-4237-8A8B-285900B419E2}"
  315. }
  316. }
  317. },
  318. {
  319. "Id": {
  320. "id": 13701532672469
  321. },
  322. "Name": "SC-Node(Greater)",
  323. "Components": {
  324. "Component_[9786204906991571051]": {
  325. "$type": "Greater",
  326. "Id": 9786204906991571051,
  327. "Slots": [
  328. {
  329. "id": {
  330. "m_id": "{0D661A2D-6666-46A0-AA5C-971470BE04B0}"
  331. },
  332. "contracts": [
  333. {
  334. "$type": "SlotTypeContract"
  335. }
  336. ],
  337. "slotName": "Result",
  338. "DisplayDataType": {
  339. "m_type": 0
  340. },
  341. "Descriptor": {
  342. "ConnectionType": 2,
  343. "SlotType": 2
  344. },
  345. "DataType": 1
  346. },
  347. {
  348. "id": {
  349. "m_id": "{90880423-BC97-4449-8898-5AB8B9388048}"
  350. },
  351. "contracts": [
  352. {
  353. "$type": "SlotTypeContract"
  354. }
  355. ],
  356. "slotName": "In",
  357. "toolTip": "Signal to perform the evaluation when desired.",
  358. "Descriptor": {
  359. "ConnectionType": 1,
  360. "SlotType": 1
  361. }
  362. },
  363. {
  364. "id": {
  365. "m_id": "{D8D73F6A-3D9B-4C0E-B0CF-555EE51AEA29}"
  366. },
  367. "contracts": [
  368. {
  369. "$type": "SlotTypeContract"
  370. }
  371. ],
  372. "slotName": "True",
  373. "toolTip": "Signaled if the result of the operation is true.",
  374. "Descriptor": {
  375. "ConnectionType": 2,
  376. "SlotType": 1
  377. }
  378. },
  379. {
  380. "id": {
  381. "m_id": "{76CFA746-0E41-4EBE-BDCD-374779CF2BDD}"
  382. },
  383. "contracts": [
  384. {
  385. "$type": "SlotTypeContract"
  386. }
  387. ],
  388. "slotName": "False",
  389. "toolTip": "Signaled if the result of the operation is false.",
  390. "Descriptor": {
  391. "ConnectionType": 2,
  392. "SlotType": 1
  393. }
  394. },
  395. {
  396. "id": {
  397. "m_id": "{E9E0287C-9C2E-4A73-A86C-59D55F3343CA}"
  398. },
  399. "DynamicTypeOverride": 3,
  400. "contracts": [
  401. {
  402. "$type": "SlotTypeContract"
  403. }
  404. ],
  405. "slotName": "Value A",
  406. "DisplayDataType": {
  407. "m_type": 3
  408. },
  409. "Descriptor": {
  410. "ConnectionType": 1,
  411. "SlotType": 2
  412. },
  413. "DynamicGroup": {
  414. "Value": 3545012108
  415. },
  416. "DataType": 1,
  417. "IsReference": true,
  418. "VariableReference": {
  419. "m_id": "{16B7C1D1-1D12-46B5-8BD5-8553E7ABDD15}"
  420. }
  421. },
  422. {
  423. "id": {
  424. "m_id": "{CE672D06-1701-495A-9D5A-E1F3CA4CFB28}"
  425. },
  426. "DynamicTypeOverride": 3,
  427. "contracts": [
  428. {
  429. "$type": "SlotTypeContract"
  430. }
  431. ],
  432. "slotName": "Value B",
  433. "DisplayDataType": {
  434. "m_type": 3
  435. },
  436. "Descriptor": {
  437. "ConnectionType": 1,
  438. "SlotType": 2
  439. },
  440. "DynamicGroup": {
  441. "Value": 3545012108
  442. },
  443. "DataType": 1,
  444. "IsReference": true,
  445. "VariableReference": {
  446. "m_id": "{1C54C10E-6AE6-443F-8C7D-E2FFD1A39362}"
  447. }
  448. }
  449. ],
  450. "Datums": [
  451. {
  452. "scriptCanvasType": {
  453. "m_type": 3
  454. },
  455. "isNullPointer": false,
  456. "$type": "double",
  457. "value": 0.0,
  458. "label": "Value A"
  459. },
  460. {
  461. "scriptCanvasType": {
  462. "m_type": 3
  463. },
  464. "isNullPointer": false,
  465. "$type": "double",
  466. "value": 0.0,
  467. "label": "Value B"
  468. }
  469. ]
  470. }
  471. }
  472. }
  473. ],
  474. "m_connections": [
  475. {
  476. "Id": {
  477. "id": 13705827639765
  478. },
  479. "Name": "srcEndpoint=(New Input: ), destEndpoint=(Greater Than (>): In)",
  480. "Components": {
  481. "Component_[1196707984464313105]": {
  482. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  483. "Id": 1196707984464313105,
  484. "sourceEndpoint": {
  485. "nodeId": {
  486. "id": 13697237705173
  487. },
  488. "slotId": {
  489. "m_id": "{D75CDADF-0701-41C3-9A51-37A9D787CC82}"
  490. }
  491. },
  492. "targetEndpoint": {
  493. "nodeId": {
  494. "id": 13701532672469
  495. },
  496. "slotId": {
  497. "m_id": "{90880423-BC97-4449-8898-5AB8B9388048}"
  498. }
  499. }
  500. }
  501. }
  502. },
  503. {
  504. "Id": {
  505. "id": 13710122607061
  506. },
  507. "Name": "srcEndpoint=(Greater Than (>): True), destEndpoint=(New Output 1: )",
  508. "Components": {
  509. "Component_[2697609187378534653]": {
  510. "$type": "{64CA5016-E803-4AC4-9A36-BDA2C890C6EB} Connection",
  511. "Id": 2697609187378534653,
  512. "sourceEndpoint": {
  513. "nodeId": {
  514. "id": 13701532672469
  515. },
  516. "slotId": {
  517. "m_id": "{D8D73F6A-3D9B-4C0E-B0CF-555EE51AEA29}"
  518. }
  519. },
  520. "targetEndpoint": {
  521. "nodeId": {
  522. "id": 13692942737877
  523. },
  524. "slotId": {
  525. "m_id": "{49CE95C1-AAB2-4F3C-A017-B9988EBDDFB6}"
  526. }
  527. }
  528. }
  529. }
  530. }
  531. ]
  532. },
  533. "m_assetType": "{D80190C9-FB7F-0000-0000-000000000000}",
  534. "versionData": {
  535. "_grammarVersion": 1,
  536. "_runtimeVersion": 1,
  537. "_fileVersion": 1
  538. },
  539. "m_variableCounter": 3,
  540. "GraphCanvasData": [
  541. {
  542. "Key": {
  543. "id": 13688647770581
  544. },
  545. "Value": {
  546. "ComponentData": {
  547. "{5F84B500-8C45-40D1-8EFC-A5306B241444}": {
  548. "$type": "SceneComponentSaveData",
  549. "ViewParams": {
  550. "Scale": 0.5860616981222805,
  551. "AnchorX": -559.6680297851563,
  552. "AnchorY": -344.6736145019531
  553. }
  554. }
  555. }
  556. }
  557. },
  558. {
  559. "Key": {
  560. "id": 13692942737877
  561. },
  562. "Value": {
  563. "ComponentData": {
  564. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  565. "$type": "NodeSaveData"
  566. },
  567. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  568. "$type": "GeneralNodeTitleComponentSaveData",
  569. "PaletteOverride": "NodelingTitlePalette"
  570. },
  571. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  572. "$type": "GeometrySaveData",
  573. "Position": [
  574. 600.0,
  575. 80.0
  576. ]
  577. },
  578. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  579. "$type": "StylingComponentSaveData",
  580. "SubStyle": ".nodeling"
  581. },
  582. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  583. "$type": "PersistentIdComponentSaveData",
  584. "PersistentId": "{BFF288BF-46B9-4DF9-8CA6-4E7A90497778}"
  585. }
  586. }
  587. }
  588. },
  589. {
  590. "Key": {
  591. "id": 13697237705173
  592. },
  593. "Value": {
  594. "ComponentData": {
  595. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  596. "$type": "NodeSaveData"
  597. },
  598. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  599. "$type": "GeneralNodeTitleComponentSaveData",
  600. "PaletteOverride": "NodelingTitlePalette"
  601. },
  602. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  603. "$type": "GeometrySaveData",
  604. "Position": [
  605. -220.0,
  606. 20.0
  607. ]
  608. },
  609. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  610. "$type": "StylingComponentSaveData",
  611. "SubStyle": ".nodeling"
  612. },
  613. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  614. "$type": "PersistentIdComponentSaveData",
  615. "PersistentId": "{5BC91F98-6F0C-4F4A-AAE2-2BE9C89D8414}"
  616. }
  617. }
  618. }
  619. },
  620. {
  621. "Key": {
  622. "id": 13701532672469
  623. },
  624. "Value": {
  625. "ComponentData": {
  626. "{24CB38BB-1705-4EC5-8F63-B574571B4DCD}": {
  627. "$type": "NodeSaveData"
  628. },
  629. "{328FF15C-C302-458F-A43D-E1794DE0904E}": {
  630. "$type": "GeneralNodeTitleComponentSaveData",
  631. "PaletteOverride": "MathNodeTitlePalette"
  632. },
  633. "{7CC444B1-F9B3-41B5-841B-0C4F2179F111}": {
  634. "$type": "GeometrySaveData",
  635. "Position": [
  636. 160.0,
  637. 40.0
  638. ]
  639. },
  640. "{B0B99C8A-03AF-4CF6-A926-F65C874C3D97}": {
  641. "$type": "StylingComponentSaveData"
  642. },
  643. "{B1F49A35-8408-40DA-B79E-F1E3B64322CE}": {
  644. "$type": "PersistentIdComponentSaveData",
  645. "PersistentId": "{0B4D1939-9E5D-4E45-A4C0-30BD97D96AD7}"
  646. }
  647. }
  648. }
  649. }
  650. ],
  651. "StatisticsHelper": {
  652. "InstanceCounter": [
  653. {
  654. "Key": 7011818094993955847,
  655. "Value": 2
  656. },
  657. {
  658. "Key": 16883864771291515098,
  659. "Value": 1
  660. }
  661. ]
  662. }
  663. }
  664. }
  665. }
  666. }
  667. }