@p100-web/core 100.1.26 → 100.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (389) hide show
  1. package/package.json +1 -1
  2. package/dist/AdaptivePerformance.d.ts +0 -20
  3. package/dist/AdaptivePerformance.d.ts.map +0 -1
  4. package/dist/AdaptivePerformance.js +0 -110
  5. package/dist/AdaptivePerformance.js.map +0 -1
  6. package/dist/DBEvent.d.ts +0 -22
  7. package/dist/DBEvent.d.ts.map +0 -1
  8. package/dist/DBEvent.js +0 -19
  9. package/dist/DBEvent.js.map +0 -1
  10. package/dist/DBNode.d.ts +0 -35
  11. package/dist/DBNode.d.ts.map +0 -1
  12. package/dist/DBNode.js +0 -33
  13. package/dist/DBNode.js.map +0 -1
  14. package/dist/DBScene.d.ts +0 -11
  15. package/dist/DBScene.d.ts.map +0 -1
  16. package/dist/DBScene.js +0 -9
  17. package/dist/DBScene.js.map +0 -1
  18. package/dist/DBVariable.d.ts +0 -22
  19. package/dist/DBVariable.d.ts.map +0 -1
  20. package/dist/DBVariable.js +0 -19
  21. package/dist/DBVariable.js.map +0 -1
  22. package/dist/DevTools.d.ts +0 -4
  23. package/dist/DevTools.d.ts.map +0 -1
  24. package/dist/DevTools.js +0 -10
  25. package/dist/DevTools.js.map +0 -1
  26. package/dist/GameContext.d.ts +0 -184
  27. package/dist/GameContext.d.ts.map +0 -1
  28. package/dist/GameContext.js +0 -602
  29. package/dist/GameContext.js.map +0 -1
  30. package/dist/IAudioListener.d.ts +0 -4
  31. package/dist/IAudioListener.d.ts.map +0 -1
  32. package/dist/IAudioListener.js +0 -2
  33. package/dist/IAudioListener.js.map +0 -1
  34. package/dist/ICameraControls.d.ts +0 -17
  35. package/dist/ICameraControls.d.ts.map +0 -1
  36. package/dist/ICameraControls.js +0 -2
  37. package/dist/ICameraControls.js.map +0 -1
  38. package/dist/IComponentFactory.d.ts +0 -8
  39. package/dist/IComponentFactory.d.ts.map +0 -1
  40. package/dist/IComponentFactory.js +0 -2
  41. package/dist/IComponentFactory.js.map +0 -1
  42. package/dist/IEngine.d.ts +0 -23
  43. package/dist/IEngine.d.ts.map +0 -1
  44. package/dist/IEngine.js +0 -2
  45. package/dist/IEngine.js.map +0 -1
  46. package/dist/IPMaterial.d.ts +0 -12
  47. package/dist/IPMaterial.d.ts.map +0 -1
  48. package/dist/IPMaterial.js +0 -2
  49. package/dist/IPMaterial.js.map +0 -1
  50. package/dist/IPNodeRenderer.d.ts +0 -25
  51. package/dist/IPNodeRenderer.d.ts.map +0 -1
  52. package/dist/IPNodeRenderer.js +0 -2
  53. package/dist/IPNodeRenderer.js.map +0 -1
  54. package/dist/IStats.d.ts +0 -9
  55. package/dist/IStats.d.ts.map +0 -1
  56. package/dist/IStats.js +0 -3
  57. package/dist/IStats.js.map +0 -1
  58. package/dist/MathTools.d.ts +0 -8
  59. package/dist/MathTools.d.ts.map +0 -1
  60. package/dist/MathTools.js +0 -20
  61. package/dist/MathTools.js.map +0 -1
  62. package/dist/PAction.d.ts +0 -77
  63. package/dist/PAction.d.ts.map +0 -1
  64. package/dist/PAction.js +0 -242
  65. package/dist/PAction.js.map +0 -1
  66. package/dist/PCanvas.d.ts +0 -171
  67. package/dist/PCanvas.d.ts.map +0 -1
  68. package/dist/PCanvas.js +0 -648
  69. package/dist/PCanvas.js.map +0 -1
  70. package/dist/PComponent.d.ts +0 -50
  71. package/dist/PComponent.d.ts.map +0 -1
  72. package/dist/PComponent.js +0 -73
  73. package/dist/PComponent.js.map +0 -1
  74. package/dist/PEnums.d.ts +0 -124
  75. package/dist/PEnums.d.ts.map +0 -1
  76. package/dist/PEnums.js +0 -138
  77. package/dist/PEnums.js.map +0 -1
  78. package/dist/PEvent.d.ts +0 -27
  79. package/dist/PEvent.d.ts.map +0 -1
  80. package/dist/PEvent.js +0 -40
  81. package/dist/PEvent.js.map +0 -1
  82. package/dist/PNode.d.ts +0 -135
  83. package/dist/PNode.d.ts.map +0 -1
  84. package/dist/PNode.js +0 -583
  85. package/dist/PNode.js.map +0 -1
  86. package/dist/POutValue.d.ts +0 -18
  87. package/dist/POutValue.d.ts.map +0 -1
  88. package/dist/POutValue.js +0 -28
  89. package/dist/POutValue.js.map +0 -1
  90. package/dist/PPayload.d.ts +0 -7
  91. package/dist/PPayload.d.ts.map +0 -1
  92. package/dist/PPayload.js +0 -19
  93. package/dist/PPayload.js.map +0 -1
  94. package/dist/PTypes.d.ts +0 -36
  95. package/dist/PTypes.d.ts.map +0 -1
  96. package/dist/PTypes.js +0 -2
  97. package/dist/PTypes.js.map +0 -1
  98. package/dist/PVariable.d.ts +0 -29
  99. package/dist/PVariable.d.ts.map +0 -1
  100. package/dist/PVariable.js +0 -51
  101. package/dist/PVariable.js.map +0 -1
  102. package/dist/PVector2.d.ts +0 -14
  103. package/dist/PVector2.d.ts.map +0 -1
  104. package/dist/PVector2.js +0 -25
  105. package/dist/PVector2.js.map +0 -1
  106. package/dist/PVector3.d.ts +0 -19
  107. package/dist/PVector3.d.ts.map +0 -1
  108. package/dist/PVector3.js +0 -44
  109. package/dist/PVector3.js.map +0 -1
  110. package/dist/animations/AnimationTools.d.ts +0 -3
  111. package/dist/animations/AnimationTools.d.ts.map +0 -1
  112. package/dist/animations/AnimationTools.js +0 -12
  113. package/dist/animations/AnimationTools.js.map +0 -1
  114. package/dist/animations/IModelAnimation.d.ts +0 -17
  115. package/dist/animations/IModelAnimation.d.ts.map +0 -1
  116. package/dist/animations/IModelAnimation.js +0 -2
  117. package/dist/animations/IModelAnimation.js.map +0 -1
  118. package/dist/assets/AssetLoader.d.ts +0 -10
  119. package/dist/assets/AssetLoader.d.ts.map +0 -1
  120. package/dist/assets/AssetLoader.js +0 -12
  121. package/dist/assets/AssetLoader.js.map +0 -1
  122. package/dist/index.d.ts +0 -151
  123. package/dist/index.d.ts.map +0 -1
  124. package/dist/index.js +0 -111
  125. package/dist/index.js.map +0 -1
  126. package/dist/media/MediaManager.d.ts +0 -17
  127. package/dist/media/MediaManager.d.ts.map +0 -1
  128. package/dist/media/MediaManager.js +0 -19
  129. package/dist/media/MediaManager.js.map +0 -1
  130. package/dist/media/PFile.d.ts +0 -13
  131. package/dist/media/PFile.d.ts.map +0 -1
  132. package/dist/media/PFile.js +0 -28
  133. package/dist/media/PFile.js.map +0 -1
  134. package/dist/pcomponents/BaseMaterial.d.ts +0 -50
  135. package/dist/pcomponents/BaseMaterial.d.ts.map +0 -1
  136. package/dist/pcomponents/BaseMaterial.js +0 -62
  137. package/dist/pcomponents/BaseMaterial.js.map +0 -1
  138. package/dist/pcomponents/PAnimator.d.ts +0 -40
  139. package/dist/pcomponents/PAnimator.d.ts.map +0 -1
  140. package/dist/pcomponents/PAnimator.js +0 -50
  141. package/dist/pcomponents/PAnimator.js.map +0 -1
  142. package/dist/pcomponents/PBackground.d.ts +0 -37
  143. package/dist/pcomponents/PBackground.d.ts.map +0 -1
  144. package/dist/pcomponents/PBackground.js +0 -48
  145. package/dist/pcomponents/PBackground.js.map +0 -1
  146. package/dist/pcomponents/PBasicMaterial.d.ts +0 -22
  147. package/dist/pcomponents/PBasicMaterial.d.ts.map +0 -1
  148. package/dist/pcomponents/PBasicMaterial.js +0 -31
  149. package/dist/pcomponents/PBasicMaterial.js.map +0 -1
  150. package/dist/pcomponents/PCallAction.d.ts +0 -19
  151. package/dist/pcomponents/PCallAction.d.ts.map +0 -1
  152. package/dist/pcomponents/PCallAction.js +0 -24
  153. package/dist/pcomponents/PCallAction.js.map +0 -1
  154. package/dist/pcomponents/PCallActions.d.ts +0 -24
  155. package/dist/pcomponents/PCallActions.d.ts.map +0 -1
  156. package/dist/pcomponents/PCallActions.js +0 -37
  157. package/dist/pcomponents/PCallActions.js.map +0 -1
  158. package/dist/pcomponents/PCameraPosition.d.ts +0 -32
  159. package/dist/pcomponents/PCameraPosition.d.ts.map +0 -1
  160. package/dist/pcomponents/PCameraPosition.js +0 -84
  161. package/dist/pcomponents/PCameraPosition.js.map +0 -1
  162. package/dist/pcomponents/PCameraTarget.d.ts +0 -32
  163. package/dist/pcomponents/PCameraTarget.d.ts.map +0 -1
  164. package/dist/pcomponents/PCameraTarget.js +0 -85
  165. package/dist/pcomponents/PCameraTarget.js.map +0 -1
  166. package/dist/pcomponents/PCollider.d.ts +0 -40
  167. package/dist/pcomponents/PCollider.d.ts.map +0 -1
  168. package/dist/pcomponents/PCollider.js +0 -58
  169. package/dist/pcomponents/PCollider.js.map +0 -1
  170. package/dist/pcomponents/PCompareBoolean.d.ts +0 -23
  171. package/dist/pcomponents/PCompareBoolean.d.ts.map +0 -1
  172. package/dist/pcomponents/PCompareBoolean.js +0 -38
  173. package/dist/pcomponents/PCompareBoolean.js.map +0 -1
  174. package/dist/pcomponents/PCompareInteger.d.ts +0 -32
  175. package/dist/pcomponents/PCompareInteger.d.ts.map +0 -1
  176. package/dist/pcomponents/PCompareInteger.js +0 -82
  177. package/dist/pcomponents/PCompareInteger.js.map +0 -1
  178. package/dist/pcomponents/PCompareNumber.d.ts +0 -25
  179. package/dist/pcomponents/PCompareNumber.d.ts.map +0 -1
  180. package/dist/pcomponents/PCompareNumber.js +0 -44
  181. package/dist/pcomponents/PCompareNumber.js.map +0 -1
  182. package/dist/pcomponents/PCompareString.d.ts +0 -25
  183. package/dist/pcomponents/PCompareString.d.ts.map +0 -1
  184. package/dist/pcomponents/PCompareString.js +0 -42
  185. package/dist/pcomponents/PCompareString.js.map +0 -1
  186. package/dist/pcomponents/PCompareVariable.d.ts +0 -28
  187. package/dist/pcomponents/PCompareVariable.d.ts.map +0 -1
  188. package/dist/pcomponents/PCompareVariable.js +0 -50
  189. package/dist/pcomponents/PCompareVariable.js.map +0 -1
  190. package/dist/pcomponents/PControllerInput.d.ts +0 -30
  191. package/dist/pcomponents/PControllerInput.d.ts.map +0 -1
  192. package/dist/pcomponents/PControllerInput.js +0 -39
  193. package/dist/pcomponents/PControllerInput.js.map +0 -1
  194. package/dist/pcomponents/PCubeGeometry.d.ts +0 -18
  195. package/dist/pcomponents/PCubeGeometry.d.ts.map +0 -1
  196. package/dist/pcomponents/PCubeGeometry.js +0 -23
  197. package/dist/pcomponents/PCubeGeometry.js.map +0 -1
  198. package/dist/pcomponents/PDebug.d.ts +0 -25
  199. package/dist/pcomponents/PDebug.d.ts.map +0 -1
  200. package/dist/pcomponents/PDebug.js +0 -34
  201. package/dist/pcomponents/PDebug.js.map +0 -1
  202. package/dist/pcomponents/PEnvironment.d.ts +0 -27
  203. package/dist/pcomponents/PEnvironment.d.ts.map +0 -1
  204. package/dist/pcomponents/PEnvironment.js +0 -43
  205. package/dist/pcomponents/PEnvironment.js.map +0 -1
  206. package/dist/pcomponents/PFadeAnimation.d.ts +0 -30
  207. package/dist/pcomponents/PFadeAnimation.d.ts.map +0 -1
  208. package/dist/pcomponents/PFadeAnimation.js +0 -113
  209. package/dist/pcomponents/PFadeAnimation.js.map +0 -1
  210. package/dist/pcomponents/PHud.d.ts +0 -12
  211. package/dist/pcomponents/PHud.d.ts.map +0 -1
  212. package/dist/pcomponents/PHud.js +0 -12
  213. package/dist/pcomponents/PHud.js.map +0 -1
  214. package/dist/pcomponents/PImageCache.d.ts +0 -18
  215. package/dist/pcomponents/PImageCache.d.ts.map +0 -1
  216. package/dist/pcomponents/PImageCache.js +0 -44
  217. package/dist/pcomponents/PImageCache.js.map +0 -1
  218. package/dist/pcomponents/PImageDetector.d.ts +0 -28
  219. package/dist/pcomponents/PImageDetector.d.ts.map +0 -1
  220. package/dist/pcomponents/PImageDetector.js +0 -39
  221. package/dist/pcomponents/PImageDetector.js.map +0 -1
  222. package/dist/pcomponents/PInteger.d.ts +0 -39
  223. package/dist/pcomponents/PInteger.d.ts.map +0 -1
  224. package/dist/pcomponents/PInteger.js +0 -75
  225. package/dist/pcomponents/PInteger.js.map +0 -1
  226. package/dist/pcomponents/PIntegerAnimator.d.ts +0 -36
  227. package/dist/pcomponents/PIntegerAnimator.d.ts.map +0 -1
  228. package/dist/pcomponents/PIntegerAnimator.js +0 -105
  229. package/dist/pcomponents/PIntegerAnimator.js.map +0 -1
  230. package/dist/pcomponents/PLight.d.ts +0 -15
  231. package/dist/pcomponents/PLight.d.ts.map +0 -1
  232. package/dist/pcomponents/PLight.js +0 -19
  233. package/dist/pcomponents/PLight.js.map +0 -1
  234. package/dist/pcomponents/PLightDirectional.d.ts +0 -19
  235. package/dist/pcomponents/PLightDirectional.d.ts.map +0 -1
  236. package/dist/pcomponents/PLightDirectional.js +0 -25
  237. package/dist/pcomponents/PLightDirectional.js.map +0 -1
  238. package/dist/pcomponents/PMaskedMaterial.d.ts +0 -19
  239. package/dist/pcomponents/PMaskedMaterial.d.ts.map +0 -1
  240. package/dist/pcomponents/PMaskedMaterial.js +0 -28
  241. package/dist/pcomponents/PMaskedMaterial.js.map +0 -1
  242. package/dist/pcomponents/PMaterialModifier.d.ts +0 -38
  243. package/dist/pcomponents/PMaterialModifier.d.ts.map +0 -1
  244. package/dist/pcomponents/PMaterialModifier.js +0 -68
  245. package/dist/pcomponents/PMaterialModifier.js.map +0 -1
  246. package/dist/pcomponents/PModelAnnotation.d.ts +0 -46
  247. package/dist/pcomponents/PModelAnnotation.d.ts.map +0 -1
  248. package/dist/pcomponents/PModelAnnotation.js +0 -119
  249. package/dist/pcomponents/PModelAnnotation.js.map +0 -1
  250. package/dist/pcomponents/PModelAnnotations.d.ts +0 -45
  251. package/dist/pcomponents/PModelAnnotations.d.ts.map +0 -1
  252. package/dist/pcomponents/PModelAnnotations.js +0 -128
  253. package/dist/pcomponents/PModelAnnotations.js.map +0 -1
  254. package/dist/pcomponents/PModelGLTF.d.ts +0 -36
  255. package/dist/pcomponents/PModelGLTF.d.ts.map +0 -1
  256. package/dist/pcomponents/PModelGLTF.js +0 -61
  257. package/dist/pcomponents/PModelGLTF.js.map +0 -1
  258. package/dist/pcomponents/PModelNode.d.ts +0 -16
  259. package/dist/pcomponents/PModelNode.d.ts.map +0 -1
  260. package/dist/pcomponents/PModelNode.js +0 -18
  261. package/dist/pcomponents/PModelNode.js.map +0 -1
  262. package/dist/pcomponents/PMoveAnimation.d.ts +0 -27
  263. package/dist/pcomponents/PMoveAnimation.d.ts.map +0 -1
  264. package/dist/pcomponents/PMoveAnimation.js +0 -65
  265. package/dist/pcomponents/PMoveAnimation.js.map +0 -1
  266. package/dist/pcomponents/PMoveToAnimation.d.ts +0 -26
  267. package/dist/pcomponents/PMoveToAnimation.d.ts.map +0 -1
  268. package/dist/pcomponents/PMoveToAnimation.js +0 -81
  269. package/dist/pcomponents/PMoveToAnimation.js.map +0 -1
  270. package/dist/pcomponents/PNumberAnimator.d.ts +0 -40
  271. package/dist/pcomponents/PNumberAnimator.d.ts.map +0 -1
  272. package/dist/pcomponents/PNumberAnimator.js +0 -103
  273. package/dist/pcomponents/PNumberAnimator.js.map +0 -1
  274. package/dist/pcomponents/PPhysicalMaterial.d.ts +0 -28
  275. package/dist/pcomponents/PPhysicalMaterial.d.ts.map +0 -1
  276. package/dist/pcomponents/PPhysicalMaterial.js +0 -35
  277. package/dist/pcomponents/PPhysicalMaterial.js.map +0 -1
  278. package/dist/pcomponents/PPlaneDetector.d.ts +0 -20
  279. package/dist/pcomponents/PPlaneDetector.d.ts.map +0 -1
  280. package/dist/pcomponents/PPlaneDetector.js +0 -25
  281. package/dist/pcomponents/PPlaneDetector.js.map +0 -1
  282. package/dist/pcomponents/PPlaneGeometry.d.ts +0 -20
  283. package/dist/pcomponents/PPlaneGeometry.d.ts.map +0 -1
  284. package/dist/pcomponents/PPlaneGeometry.js +0 -26
  285. package/dist/pcomponents/PPlaneGeometry.js.map +0 -1
  286. package/dist/pcomponents/PProjectRoot.d.ts +0 -41
  287. package/dist/pcomponents/PProjectRoot.d.ts.map +0 -1
  288. package/dist/pcomponents/PProjectRoot.js +0 -94
  289. package/dist/pcomponents/PProjectRoot.js.map +0 -1
  290. package/dist/pcomponents/PRotateAnimation.d.ts +0 -32
  291. package/dist/pcomponents/PRotateAnimation.d.ts.map +0 -1
  292. package/dist/pcomponents/PRotateAnimation.js +0 -81
  293. package/dist/pcomponents/PRotateAnimation.js.map +0 -1
  294. package/dist/pcomponents/PScaleAnimation.d.ts +0 -28
  295. package/dist/pcomponents/PScaleAnimation.d.ts.map +0 -1
  296. package/dist/pcomponents/PScaleAnimation.js +0 -82
  297. package/dist/pcomponents/PScaleAnimation.js.map +0 -1
  298. package/dist/pcomponents/PSceneContainer.d.ts +0 -22
  299. package/dist/pcomponents/PSceneContainer.d.ts.map +0 -1
  300. package/dist/pcomponents/PSceneContainer.js +0 -50
  301. package/dist/pcomponents/PSceneContainer.js.map +0 -1
  302. package/dist/pcomponents/PSceneRoot.d.ts +0 -16
  303. package/dist/pcomponents/PSceneRoot.d.ts.map +0 -1
  304. package/dist/pcomponents/PSceneRoot.js +0 -21
  305. package/dist/pcomponents/PSceneRoot.js.map +0 -1
  306. package/dist/pcomponents/PSlider.d.ts +0 -34
  307. package/dist/pcomponents/PSlider.d.ts.map +0 -1
  308. package/dist/pcomponents/PSlider.js +0 -39
  309. package/dist/pcomponents/PSlider.js.map +0 -1
  310. package/dist/pcomponents/PSound.d.ts +0 -34
  311. package/dist/pcomponents/PSound.d.ts.map +0 -1
  312. package/dist/pcomponents/PSound.js +0 -45
  313. package/dist/pcomponents/PSound.js.map +0 -1
  314. package/dist/pcomponents/PSphereGeometry.d.ts +0 -19
  315. package/dist/pcomponents/PSphereGeometry.d.ts.map +0 -1
  316. package/dist/pcomponents/PSphereGeometry.js +0 -25
  317. package/dist/pcomponents/PSphereGeometry.js.map +0 -1
  318. package/dist/pcomponents/PSprite.d.ts +0 -19
  319. package/dist/pcomponents/PSprite.d.ts.map +0 -1
  320. package/dist/pcomponents/PSprite.js +0 -27
  321. package/dist/pcomponents/PSprite.js.map +0 -1
  322. package/dist/pcomponents/PSpriteSheet.d.ts +0 -27
  323. package/dist/pcomponents/PSpriteSheet.d.ts.map +0 -1
  324. package/dist/pcomponents/PSpriteSheet.js +0 -42
  325. package/dist/pcomponents/PSpriteSheet.js.map +0 -1
  326. package/dist/pcomponents/PText.d.ts +0 -35
  327. package/dist/pcomponents/PText.d.ts.map +0 -1
  328. package/dist/pcomponents/PText.js +0 -49
  329. package/dist/pcomponents/PText.js.map +0 -1
  330. package/dist/pcomponents/PTransform.d.ts +0 -23
  331. package/dist/pcomponents/PTransform.d.ts.map +0 -1
  332. package/dist/pcomponents/PTransform.js +0 -67
  333. package/dist/pcomponents/PTransform.js.map +0 -1
  334. package/dist/pcomponents/PVarList.d.ts +0 -36
  335. package/dist/pcomponents/PVarList.d.ts.map +0 -1
  336. package/dist/pcomponents/PVarList.js +0 -71
  337. package/dist/pcomponents/PVarList.js.map +0 -1
  338. package/dist/pcomponents/PVarReader.d.ts +0 -19
  339. package/dist/pcomponents/PVarReader.d.ts.map +0 -1
  340. package/dist/pcomponents/PVarReader.js +0 -25
  341. package/dist/pcomponents/PVarReader.js.map +0 -1
  342. package/dist/pcomponents/PVarWriter.d.ts +0 -25
  343. package/dist/pcomponents/PVarWriter.d.ts.map +0 -1
  344. package/dist/pcomponents/PVarWriter.js +0 -45
  345. package/dist/pcomponents/PVarWriter.js.map +0 -1
  346. package/dist/pcomponents/PVideoPlayer.d.ts +0 -35
  347. package/dist/pcomponents/PVideoPlayer.d.ts.map +0 -1
  348. package/dist/pcomponents/PVideoPlayer.js +0 -94
  349. package/dist/pcomponents/PVideoPlayer.js.map +0 -1
  350. package/dist/pcomponents/PVisibility.d.ts +0 -36
  351. package/dist/pcomponents/PVisibility.d.ts.map +0 -1
  352. package/dist/pcomponents/PVisibility.js +0 -68
  353. package/dist/pcomponents/PVisibility.js.map +0 -1
  354. package/dist/pcomponents/PXRTools.d.ts +0 -32
  355. package/dist/pcomponents/PXRTools.d.ts.map +0 -1
  356. package/dist/pcomponents/PXRTools.js +0 -44
  357. package/dist/pcomponents/PXRTools.js.map +0 -1
  358. package/dist/settings/ICameraSettings.d.ts +0 -16
  359. package/dist/settings/ICameraSettings.d.ts.map +0 -1
  360. package/dist/settings/ICameraSettings.js +0 -2
  361. package/dist/settings/ICameraSettings.js.map +0 -1
  362. package/dist/settings/IQualitySettings.d.ts +0 -14
  363. package/dist/settings/IQualitySettings.d.ts.map +0 -1
  364. package/dist/settings/IQualitySettings.js +0 -2
  365. package/dist/settings/IQualitySettings.js.map +0 -1
  366. package/dist/settings/IRenderSetting.d.ts +0 -7
  367. package/dist/settings/IRenderSetting.d.ts.map +0 -1
  368. package/dist/settings/IRenderSetting.js +0 -2
  369. package/dist/settings/IRenderSetting.js.map +0 -1
  370. package/dist/settings/ISetting.d.ts +0 -4
  371. package/dist/settings/ISetting.d.ts.map +0 -1
  372. package/dist/settings/ISetting.js +0 -2
  373. package/dist/settings/ISetting.js.map +0 -1
  374. package/dist/settings/IWebSettings.d.ts +0 -6
  375. package/dist/settings/IWebSettings.d.ts.map +0 -1
  376. package/dist/settings/IWebSettings.js +0 -2
  377. package/dist/settings/IWebSettings.js.map +0 -1
  378. package/dist/settings/Settings_Babylonjs.d.ts +0 -101
  379. package/dist/settings/Settings_Babylonjs.d.ts.map +0 -1
  380. package/dist/settings/Settings_Babylonjs.js +0 -85
  381. package/dist/settings/Settings_Babylonjs.js.map +0 -1
  382. package/dist/settings/Settings_Base.d.ts +0 -11
  383. package/dist/settings/Settings_Base.d.ts.map +0 -1
  384. package/dist/settings/Settings_Base.js +0 -45
  385. package/dist/settings/Settings_Base.js.map +0 -1
  386. package/dist/settings/Settings_Threejs.d.ts +0 -106
  387. package/dist/settings/Settings_Threejs.d.ts.map +0 -1
  388. package/dist/settings/Settings_Threejs.js +0 -165
  389. package/dist/settings/Settings_Threejs.js.map +0 -1
@@ -1,82 +0,0 @@
1
- import { PInAction, POutAction } from "../PAction";
2
- import { DataType, PayloadSource } from "../PEnums";
3
- import PPayload from "../PPayload";
4
- import PComponent from "../PComponent";
5
- export default class PCompareInteger extends PComponent {
6
- inevent_compare;
7
- outevent_onCompare;
8
- outevent_onTrue;
9
- outevent_onFalse;
10
- bitCompare;
11
- compareSource;
12
- node_compareTarget;
13
- compareTo;
14
- constructor(dbComponent, node, context) {
15
- super(dbComponent, "PCompareInteger", "Compare Integer", node, context);
16
- this.bitCompare = dbComponent.bitCompare || false;
17
- this.compareSource = dbComponent.compareSource || PayloadSource.Static;
18
- this.node_compareTarget = dbComponent.node_compareTarget || "";
19
- this.compareTo = dbComponent.compareTo || "";
20
- this.inevent_compare = node.registerInAction(this, "Compare", dbComponent.inevent_compare, this.callback_compare, DataType.Integer);
21
- this.outevent_onCompare = node.registerOutAction(this, "On Compare", dbComponent.outevent_onCompare, DataType.Boolean);
22
- this.outevent_onTrue = node.registerOutAction(this, "On True", dbComponent.outevent_onTrue);
23
- this.outevent_onFalse = node.registerOutAction(this, "On False", dbComponent.outevent_onFalse);
24
- }
25
- toDB() {
26
- return {
27
- ...super.toDB(),
28
- inevent_compare: PInAction.toDB(this.inevent_compare),
29
- outevent_onCompare: POutAction.toDB(this.outevent_onCompare),
30
- outevent_onTrue: POutAction.toDB(this.outevent_onTrue),
31
- outevent_onFalse: POutAction.toDB(this.outevent_onFalse),
32
- compareSource: this.compareSource,
33
- node_compareTarget: this.node_compareTarget,
34
- bitCompare: this.bitCompare,
35
- compareTo: this.compareTo,
36
- };
37
- }
38
- callback_compare(payload) {
39
- if (!payload || this.compareTo === "")
40
- return;
41
- // Get compare to value
42
- let compareTo = 0;
43
- if (this.compareSource === PayloadSource.Static) {
44
- compareTo = parseInt(this.compareTo);
45
- }
46
- else if (this.compareSource === PayloadSource.Variable) {
47
- const variable = this.context.getVariable(this.compareTo);
48
- if (!variable) {
49
- this.context.error("PCompareInteger: Variable not found");
50
- return;
51
- }
52
- compareTo = parseInt(variable.string_value() || "-1");
53
- }
54
- else if (this.compareSource === PayloadSource.OutValue) {
55
- const outValue = this.context.findNodeOutValue(this.node_compareTarget, this.compareTo);
56
- if (!outValue) {
57
- this.context.error("PCompareInteger: OutValue not found");
58
- return;
59
- }
60
- compareTo = parseInt(outValue.runtime_value() || "-1");
61
- }
62
- let result = false;
63
- if (!this.bitCompare) {
64
- result = payload === "" + this.compareTo;
65
- }
66
- else {
67
- // Bit compare
68
- const payloadBit = parseInt(payload);
69
- result = (payloadBit & compareTo) > 0;
70
- }
71
- this.outevent_onCompare?.emit(PPayload.fromBoolean(result));
72
- if (result) {
73
- this.outevent_onTrue?.emit(null);
74
- }
75
- else {
76
- this.outevent_onFalse?.emit(null);
77
- }
78
- }
79
- render() { }
80
- unrender() { }
81
- }
82
- //# sourceMappingURL=PCompareInteger.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PCompareInteger.js","sourceRoot":"","sources":["../../src/pcomponents/PCompareInteger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,SAAS,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC1E,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AACpD,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,UAA2B,MAAM,eAAe,CAAC;AAiBxD,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,UAAU;IACrD,eAAe,CAAmB;IAClC,kBAAkB,CAAoB;IACtC,eAAe,CAAoB;IACnC,gBAAgB,CAAoB;IAEpC,UAAU,CAAU;IAEpB,aAAa,CAAgB;IAC7B,kBAAkB,CAAS;IAC3B,SAAS,CAAS;IAElB,YACE,WAA6B,EAC7B,IAAW,EACX,OAAoB;QAEpB,KAAK,CAAC,WAAW,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAExE,IAAI,CAAC,UAAU,GAAG,WAAW,CAAC,UAAU,IAAI,KAAK,CAAC;QAElD,IAAI,CAAC,aAAa,GAAG,WAAW,CAAC,aAAa,IAAI,aAAa,CAAC,MAAM,CAAC;QACvE,IAAI,CAAC,kBAAkB,GAAG,WAAW,CAAC,kBAAkB,IAAI,EAAE,CAAC;QAC/D,IAAI,CAAC,SAAS,GAAG,WAAW,CAAC,SAAS,IAAI,EAAE,CAAC;QAE7C,IAAI,CAAC,eAAe,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AQ,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC;QAE5D,IAAI,MAAM,EAAE,CAAC;YACX,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QACnC,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,gBAAgB,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QACpC,CAAC;IACH,CAAC;IAED,MAAM,KAAU,CAAC;IAEjB,QAAQ,KAAU,CAAC;CACpB"}
@@ -1,25 +0,0 @@
1
- import { IInAction, IOutAction, PInAction, POutAction } from "../PAction";
2
- import PComponent, { DBComponent } from "../PComponent";
3
- import GameContext from "../GameContext";
4
- import PNode from "../PNode";
5
- interface DBCompareNumber extends DBComponent {
6
- inevent_compare: IInAction | null;
7
- outevent_onCompare: IOutAction | null;
8
- outevent_onTrue: IOutAction | null;
9
- outevent_onFalse: IOutAction | null;
10
- compareTo: number;
11
- }
12
- export { type DBCompareNumber };
13
- export default class PCompareNumber extends PComponent {
14
- inevent_compare: PInAction | null;
15
- outevent_onCompare: POutAction | null;
16
- outevent_onTrue: POutAction | null;
17
- outevent_onFalse: POutAction | null;
18
- compareTo: number;
19
- constructor(dbComponent: DBCompareNumber, node: PNode, context: GameContext);
20
- toDB(): DBCompareNumber;
21
- callback_compare(payload: string | null): void;
22
- render(): void;
23
- unrender(): void;
24
- }
25
- //# sourceMappingURL=PCompareNumber.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PCompareNumber.d.ts","sourceRoot":"","sources":["../../src/pcomponents/PCompareNumber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAG1E,OAAO,UAAU,EAAE,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,UAAU,CAAC;AAE7B,UAAU,eAAgB,SAAQ,WAAW;IAC3C,eAAe,EAAE,SAAS,GAAG,IAAI,CAAC;IAClC,kBAAkB,EAAE,UAAU,GAAG,IAAI,CAAC;IACtC,eAAe,EAAE,UAAU,GAAG,IAAI,CAAC;IACnC,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAC;IACpC,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,OAAO,EAAE,KAAK,eAAe,EAAE,CAAC;AAEhC,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,UAAU;IACpD,eAAe,EAAE,SAAS,GAAG,IAAI,CAAC;IAClC,kBAAkB,EAAE,UAAU,GAAG,IAAI,CAAC;IACtC,eAAe,EAAE,UAAU,GAAG,IAAI,CAAC;IACnC,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAC;IAEpC,SAAS,EAAE,MAAM,CAAC;gBAEN,WAAW,EAAE,eAAe,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW;IAiC3E,IAAI,IAAI,eAAe;IAWvB,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAavC,MAAM,IAAI,IAAI;IAEd,QAAQ,IAAI,IAAI;CACjB"}
@@ -1,44 +0,0 @@
1
- import { PInAction, POutAction } from "../PAction";
2
- import { DataType } from "../PEnums";
3
- import PPayload from "../PPayload";
4
- import PComponent from "../PComponent";
5
- export default class PCompareNumber extends PComponent {
6
- inevent_compare;
7
- outevent_onCompare;
8
- outevent_onTrue;
9
- outevent_onFalse;
10
- compareTo;
11
- constructor(dbComponent, node, context) {
12
- super(dbComponent, "PCompareNumber", "Compare Number", node, context);
13
- this.compareTo = dbComponent.compareTo || 0;
14
- this.inevent_compare = node.registerInAction(this, "Compare", dbComponent.inevent_compare, this.callback_compare, DataType.Number);
15
- this.outevent_onCompare = node.registerOutAction(this, "On Compare", dbComponent.outevent_onCompare, DataType.Boolean);
16
- this.outevent_onTrue = node.registerOutAction(this, "On True", dbComponent.outevent_onTrue);
17
- this.outevent_onFalse = node.registerOutAction(this, "On False", dbComponent.outevent_onFalse);
18
- }
19
- toDB() {
20
- return {
21
- ...super.toDB(),
22
- inevent_compare: PInAction.toDB(this.inevent_compare),
23
- outevent_onCompare: POutAction.toDB(this.outevent_onCompare),
24
- outevent_onTrue: POutAction.toDB(this.outevent_onTrue),
25
- outevent_onFalse: POutAction.toDB(this.outevent_onFalse),
26
- compareTo: this.compareTo,
27
- };
28
- }
29
- callback_compare(payload) {
30
- if (!payload)
31
- return;
32
- const result = payload === "" + this.compareTo;
33
- this.outevent_onCompare?.emit(PPayload.fromBoolean(result));
34
- if (result) {
35
- this.outevent_onTrue?.emit(null);
36
- }
37
- else {
38
- this.outevent_onFalse?.emit(null);
39
- }
40
- }
41
- render() { }
42
- unrender() { }
43
- }
44
- //# sourceMappingURL=PCompareNumber.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PCompareNumber.js","sourceRoot":"","sources":["../../src/pcomponents/PCompareNumber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,SAAS,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC1E,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,UAA2B,MAAM,eAAe,CAAC;AAcxD,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,UAAU;IACpD,eAAe,CAAmB;IAClC,kBAAkB,CAAoB;IACtC,eAAe,CAAoB;IACnC,gBAAgB,CAAoB;IAEpC,SAAS,CAAS;IAElB,YAAY,WAA4B,EAAE,IAAW,EAAE,OAAoB;QACzE,KAAK,CAAC,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAEtE,IAAI,CAAC,SAAS,GAAG,WAAW,CAAC,SAAS,IAAI,CAAC,CAAC;QAE5C,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,gBAAgB,CAC1C,IAAI,EACJ,SAAS,EACT,WAAW,CAAC,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C,IAAI,CAAC,CAAC;QACpC,CAAC;IACH,CAAC;IAED,MAAM,KAAU,CAAC;IAEjB,QAAQ,KAAU,CAAC;CACpB"}
@@ -1,25 +0,0 @@
1
- import { type IInAction, type IOutAction, PInAction, POutAction } from "../PAction";
2
- import PComponent, { DBComponent } from "../PComponent";
3
- import GameContext from "../GameContext";
4
- import PNode from "../PNode";
5
- interface DBCompareString extends DBComponent {
6
- inevent_compare: IInAction | null;
7
- outevent_onCompare: IOutAction | null;
8
- outevent_onTrue: IOutAction | null;
9
- outevent_onFalse: IOutAction | null;
10
- compareTo: string | null;
11
- }
12
- export { type DBCompareString };
13
- export default class PCompareString extends PComponent {
14
- inevent_compare: PInAction | null;
15
- outevent_onCompare: POutAction | null;
16
- outevent_onTrue: POutAction | null;
17
- outevent_onFalse: POutAction | null;
18
- compareTo: string;
19
- constructor(dbComponent: DBCompareString, node: PNode, context: GameContext);
20
- toDB(): DBCompareString;
21
- callback_compare(payloadValue: string | null): void;
22
- render(): void;
23
- unrender(): void;
24
- }
25
- //# sourceMappingURL=PCompareString.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PCompareString.d.ts","sourceRoot":"","sources":["../../src/pcomponents/PCompareString.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,SAAS,EACd,KAAK,UAAU,EACf,SAAS,EACT,UAAU,EACX,MAAM,YAAY,CAAC;AAEpB,OAAO,UAAU,EAAE,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,UAAU,CAAC;AAE7B,UAAU,eAAgB,SAAQ,WAAW;IAC3C,eAAe,EAAE,SAAS,GAAG,IAAI,CAAC;IAClC,kBAAkB,EAAE,UAAU,GAAG,IAAI,CAAC;IACtC,eAAe,EAAE,UAAU,GAAG,IAAI,CAAC;IACnC,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAC;IACpC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,OAAO,EAAE,KAAK,eAAe,EAAE,CAAC;AAEhC,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,UAAU;IACpD,eAAe,EAAE,SAAS,GAAG,IAAI,CAAC;IAClC,kBAAkB,EAAE,UAAU,GAAG,IAAI,CAAC;IACtC,eAAe,EAAE,UAAU,GAAG,IAAI,CAAC;IACnC,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAC;IAEpC,SAAS,EAAE,MAAM,CAAC;gBAEN,WAAW,EAAE,eAAe,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW;IAiC3E,IAAI,IAAI,eAAe;IAWvB,gBAAgB,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI;IAa5C,MAAM,IAAI,IAAI;IAEd,QAAQ,IAAI,IAAI;CACjB"}
@@ -1,42 +0,0 @@
1
- import { PInAction, POutAction, } from "../PAction";
2
- import { DataType } from "../PEnums";
3
- import PComponent from "../PComponent";
4
- export default class PCompareString extends PComponent {
5
- inevent_compare;
6
- outevent_onCompare;
7
- outevent_onTrue;
8
- outevent_onFalse;
9
- compareTo;
10
- constructor(dbComponent, node, context) {
11
- super(dbComponent, "PCompareString", "Compare String", node, context);
12
- this.compareTo = dbComponent.compareTo || "";
13
- this.inevent_compare = node.registerInAction(this, "Compare", dbComponent.inevent_compare, this.callback_compare, DataType.String);
14
- this.outevent_onCompare = node.registerOutAction(this, "On Compare", dbComponent.outevent_onCompare, DataType.Boolean);
15
- this.outevent_onTrue = node.registerOutAction(this, "On True", dbComponent.outevent_onTrue);
16
- this.outevent_onFalse = node.registerOutAction(this, "On False", dbComponent.outevent_onFalse);
17
- }
18
- toDB() {
19
- return {
20
- ...super.toDB(),
21
- inevent_compare: PInAction.toDB(this.inevent_compare),
22
- outevent_onCompare: POutAction.toDB(this.outevent_onCompare),
23
- outevent_onTrue: POutAction.toDB(this.outevent_onTrue),
24
- outevent_onFalse: POutAction.toDB(this.outevent_onFalse),
25
- compareTo: this.compareTo === "" ? null : this.compareTo,
26
- };
27
- }
28
- callback_compare(payloadValue) {
29
- payloadValue = payloadValue || "";
30
- const result = payloadValue === this.compareTo;
31
- this.outevent_onCompare?.emit(result ? "1" : "0");
32
- if (result) {
33
- this.outevent_onTrue?.emit(null);
34
- }
35
- else {
36
- this.outevent_onFalse?.emit(null);
37
- }
38
- }
39
- render() { }
40
- unrender() { }
41
- }
42
- //# sourceMappingURL=PCompareString.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PCompareString.js","sourceRoot":"","sources":["../../src/pcomponents/PCompareString.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,SAAS,EACT,UAAU,GACX,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,UAA2B,MAAM,eAAe,CAAC;AAcxD,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,UAAU;IACpD,eAAe,CAAmB;IAClC,kBAAkB,CAAoB;IACtC,eAAe,CAAoB;IACnC,gBAAgB,CAAoB;IAEpC,SAAS,CAAS;IAElB,YAAY,WAA4B,EAAE,IAAW,EAAE,OAAoB;QACzE,KAAK,CAAC,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAEtE,IAAI,CAAC,SAAS,GAAG,WAAW,CAAC,SAAS,IAAI,EAAE,CAAC;QAE7C,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,gBAAgB,CAC1C,IAAI,EACJ,SAAS,EACT,WAAW,CAAC,eAAe,EAC3B,IAAI,CAAC,gBAAgB,EACrB,QAAQ,CAAC,MAAM,CAChB,CAAC;QAEF,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC,iBAAiB,CAC9C,IAAI,EACJ,YAAY,EACZ,WAAW,CAAC,kBAAkB,EAC9B,QAAQ,CAAC,OAAO,CACjB,CAAC;QAEF,IAAI,CAAC,eAAe,GAAG,IAAI,CA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able } from "../PVariable";
3
- import PComponent, { DBComponent } from "../PComponent";
4
- import GameContext from "../GameContext";
5
- import PNode from "../PNode";
6
- interface DBCompareVariable extends DBComponent {
7
- var_target: string | null;
8
- inevent_compare: IInAction | null;
9
- outevent_onCompare: IOutAction | null;
10
- outevent_onTrue: IOutAction | null;
11
- outevent_onFalse: IOutAction | null;
12
- compareTo: string;
13
- }
14
- export { type DBCompareVariable };
15
- export default class PCompareVariable extends PComponent {
16
- var_target: PVariable | null;
17
- inevent_compare: PInAction | null;
18
- outevent_onCompare: POutAction | null;
19
- outevent_onTrue: POutAction | null;
20
- outevent_onFalse: POutAction | null;
21
- compareTo: string;
22
- constructor(dbComponent: DBCompareVariable, node: PNode, context: GameContext);
23
- toDB(): DBCompareVariable;
24
- callback_compare(_payload: string | null): void;
25
- render(): void;
26
- unrender(): void;
27
- }
28
- //# sourceMappingURL=PCompareVariable.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PCompareVariable.d.ts","sourceRoot":"","sources":["../../src/pcomponents/PCompareVariable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE1E,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,UAAU,EAAE,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,UAAU,CAAC;AAE7B,UAAU,iBAAkB,SAAQ,WAAW;IAC7C,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,eAAe,EAAE,SAAS,GAAG,IAAI,CAAC;IAClC,kBAAkB,EAAE,UAAU,GAAG,IAAI,CAAC;IACtC,eAAe,EAAE,UAAU,GAAG,IAAI,CAAC;IACnC,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAC;IACpC,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,OAAO,EAAE,KAAK,iBAAiB,EAAE,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,UAAU;IACtD,UAAU,EAAE,SAAS,GAAG,IAAI,CAAC;IAC7B,eAAe,EAAE,SAAS,GAAG,IAAI,CAAC;IAClC,kBAAkB,EAAE,UAAU,GAAG,IAAI,CAAC;IACtC,eAAe,EAAE,UAAU,GAAG,IAAI,CAAC;IACnC,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAC;IAEpC,SAAS,EAAE,MAAM,CAAC;gBAGhB,WAAW,EAAE,iBAAiB,EAC9B,IAAI,EAAE,KAAK,EACX,OAAO,EAAE,WAAW;IA4CtB,IAAI,IAAI,iBAAiB;IAYzB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAaxC,MAAM,IAAI,IAAI;IAEd,QAAQ,IAAI,IAAI;CACjB"}
@@ -1,50 +0,0 @@
1
- import { PInAction, POutAction } from "../PAction";
2
- import { DataType } from "../PEnums";
3
- import { PVariable } from "../PVariable";
4
- import PComponent from "../PComponent";
5
- export default class PCompareVariable extends PComponent {
6
- var_target;
7
- inevent_compare;
8
- outevent_onCompare;
9
- outevent_onTrue;
10
- outevent_onFalse;
11
- compareTo;
12
- constructor(dbComponent, node, context) {
13
- super(dbComponent, "PCompareVariable", "Compare Global Variable", node, context);
14
- this.compareTo = dbComponent.compareTo || "";
15
- this.var_target = dbComponent.var_target
16
- ? context.getVariable(dbComponent.var_target)
17
- : null;
18
- this.inevent_compare = node.registerInAction(this, "Compare", dbComponent.inevent_compare, this.callback_compare, DataType.None);
19
- this.outevent_onCompare = node.registerOutAction(this, "On Compare", dbComponent.outevent_onCompare, DataType.Boolean);
20
- this.outevent_onTrue = node.registerOutAction(this, "On True", dbComponent.outevent_onTrue);
21
- this.outevent_onFalse = node.registerOutAction(this, "On False", dbComponent.outevent_onFalse);
22
- }
23
- toDB() {
24
- return {
25
- ...super.toDB(),
26
- var_target: PVariable.toDB(this.var_target),
27
- inevent_compare: PInAction.toDB(this.inevent_compare),
28
- outevent_onCompare: POutAction.toDB(this.outevent_onCompare),
29
- outevent_onTrue: POutAction.toDB(this.outevent_onTrue),
30
- outevent_onFalse: POutAction.toDB(this.outevent_onFalse),
31
- compareTo: this.compareTo,
32
- };
33
- }
34
- callback_compare(_payload) {
35
- if (!this.var_target) {
36
- return;
37
- }
38
- const result = this.var_target.string_value() === this.compareTo;
39
- this.outevent_onCompare?.emit(result ? "1" : "0");
40
- if (result) {
41
- this.outevent_onTrue?.emit(null);
42
- }
43
- else {
44
- this.outevent_onFalse?.emit(null);
45
- }
46
- }
47
- render() { }
48
- unrender() { }
49
- }
50
- //# sourceMappingURL=PCompareVariable.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PCompareVariable.js","sourceRoot":"","sources":["../../src/pcomponents/PCompareVariable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,SAAS,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC1E,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,UAA2B,MAAM,eAAe,CAAC;AAexD,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,UAAU;IACtD,UAAU,CAAmB;IAC7B,eAAe,CAAmB;IAClC,kBAAkB,CAAoB;IACtC,eAAe,CAAoB;IACnC,gBAAgB,CAAoB;IAEpC,SAAS,CAAS;IAElB,YACE,WAA8B,EAC9B,IAAW,EACX,OAAoB;QAEpB,KAAK,CACH,WAAW,EACX,kBAAkB,EAClB,yBAAyB,EACzB,IAAI,EACJ,OAAO,CACR,CAAC;QAEF,IAAI,CAAC,SAAS,GAAG,WAAW,CAAC,SAAS,IAAI,EAAE,CAAC;QAE7C,IAAI,CAAC,UAAU,GAAG,WAAW,CAAC,UAAU;YACtC,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,WAAW,CAAC,UAAU,CAAC;YAC7C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C,kBAAkB,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;QAClD,IAAI,MAAM,EAAE,CAAC;YACX,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QACnC,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,gBAAgB,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QACpC,CAAC;IACH,CAAC;IAED,MAAM,KAAU,CAAC;IAEjB,QAAQ,KAAU,CAAC;CACpB"}
@@ -1,30 +0,0 @@
1
- import GameContext from "../GameContext";
2
- import PNode from "../PNode";
3
- import { IOutAction, POutAction } from "../PAction";
4
- import PComponent, { DBComponent } from "../PComponent";
5
- interface DBControllerInput extends DBComponent {
6
- outevent_buttonA: IOutAction | null;
7
- outevent_buttonB: IOutAction | null;
8
- outevent_buttonX: IOutAction | null;
9
- outevent_buttonY: IOutAction | null;
10
- holdDurationA: number;
11
- holdDurationB: number;
12
- holdDurationX: number;
13
- holdDurationY: number;
14
- }
15
- export type { DBControllerInput };
16
- export default class PControllerInput extends PComponent {
17
- outevent_buttonA: POutAction | null;
18
- outevent_buttonB: POutAction | null;
19
- outevent_buttonX: POutAction | null;
20
- outevent_buttonY: POutAction | null;
21
- holdDurationA: number;
22
- holdDurationB: number;
23
- holdDurationX: number;
24
- holdDurationY: number;
25
- constructor(dbComponent: DBControllerInput, node: PNode, context: GameContext);
26
- toDB(): DBControllerInput;
27
- render(): void;
28
- unrender(): void;
29
- }
30
- //# sourceMappingURL=PControllerInput.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PControllerInput.d.ts","sourceRoot":"","sources":["../../src/pcomponents/PControllerInput.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,UAAU,EAAE,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAExD,UAAU,iBAAkB,SAAQ,WAAW;IAC7C,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAC;IACpC,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAC;IACpC,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAC;IACpC,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAC;IAEpC,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,YAAY,EAAE,iBAAiB,EAAE,CAAC;AAElC,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,UAAU;IACtD,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAC;IACpC,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAC;IACpC,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAC;IACpC,gBAAgB,EAAE,UAAU,GAAG,IAAI,CAAC;IAEpC,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;gBAGpB,WAAW,EAAE,iBAAiB,EAC9B,IAAI,EAAE,KAAK,EACX,OAAO,EAAE,WAAW;IA+BtB,IAAI,IAAI,iBAAiB;IAezB,MAAM,IAAI,IAAI;IAEd,QAAQ,IAAI,IAAI;CACjB"}
@@ -1,39 +0,0 @@
1
- import { POutAction } from "../PAction";
2
- import PComponent from "../PComponent";
3
- export default class PControllerInput extends PComponent {
4
- outevent_buttonA;
5
- outevent_buttonB;
6
- outevent_buttonX;
7
- outevent_buttonY;
8
- holdDurationA;
9
- holdDurationB;
10
- holdDurationX;
11
- holdDurationY;
12
- constructor(dbComponent, node, context) {
13
- super(dbComponent, "PControllerInput", "Controller Input", node, context);
14
- this.holdDurationA = dbComponent.holdDurationA;
15
- this.holdDurationB = dbComponent.holdDurationB;
16
- this.holdDurationX = dbComponent.holdDurationX;
17
- this.holdDurationY = dbComponent.holdDurationY;
18
- this.outevent_buttonA = node.registerOutAction(this, "On Button A", dbComponent.outevent_buttonA);
19
- this.outevent_buttonB = node.registerOutAction(this, "On Button B", dbComponent.outevent_buttonB);
20
- this.outevent_buttonX = node.registerOutAction(this, "On Button X", dbComponent.outevent_buttonX);
21
- this.outevent_buttonY = node.registerOutAction(this, "On Button Y", dbComponent.outevent_buttonY);
22
- }
23
- toDB() {
24
- return {
25
- ...super.toDB(),
26
- outevent_buttonA: POutAction.toDB(this.outevent_buttonA),
27
- outevent_buttonB: POutAction.toDB(this.outevent_buttonB),
28
- outevent_buttonX: POutAction.toDB(this.outevent_buttonX),
29
- outevent_buttonY: POutAction.toDB(this.outevent_buttonY),
30
- holdDurationA: this.holdDurationA,
31
- holdDurationB: this.holdDurationB,
32
- holdDurationX: this.holdDurationX,
33
- holdDurationY: this.holdDurationY,
34
- };
35
- }
36
- render() { }
37
- unrender() { }
38
- }
39
- //# sourceMappingURL=PControllerInput.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PControllerInput.js","sourceRoot":"","sources":["../../src/pcomponents/PControllerInput.ts"],"names":[],"mappings":"AAEA,OAAO,EAAc,UAAU,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,UAA2B,MAAM,eAAe,CAAC;AAgBxD,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,UAAU;IACtD,gBAAgB,CAAoB;IACpC,gBAAgB,CAAoB;IACpC,gBAAgB,CAAoB;IACpC,gBAAgB,CAAoB;IAEpC,aAAa,CAAS;IACtB,aAAa,CAAS;IACtB,aAAa,CAAS;IACtB,aAAa,CAAS;IAEtB,YACE,WAA8B,EAC9B,IAAW,EACX,OAAoB;QAEpB,KAAK,CAAC,WAAW,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAE1E,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Q,KAAU,CAAC;CACpB"}
@@ -1,18 +0,0 @@
1
- import GameContext from "../GameContext";
2
- import PNode from "../PNode";
3
- import PComponent, { DBComponent } from "../PComponent";
4
- import PVector3, { IVector3 } from "../PVector3";
5
- interface DBCubeGeometry extends DBComponent {
6
- size: IVector3;
7
- castShadow: boolean;
8
- receiveShadow: boolean;
9
- }
10
- export type { DBCubeGeometry };
11
- export default abstract class PCubeGeometry extends PComponent {
12
- size: PVector3;
13
- castShadow: boolean;
14
- receiveShadow: boolean;
15
- constructor(dbComponent: DBCubeGeometry, node: PNode, context: GameContext);
16
- toDB(): DBCubeGeometry;
17
- }
18
- //# sourceMappingURL=PCubeGeometry.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PCubeGeometry.d.ts","sourceRoot":"","sources":["../../src/pcomponents/PCubeGeometry.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,UAAU,CAAC;AAC7B,OAAO,UAAU,EAAE,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,QAAQ,EAAE,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEjD,UAAU,cAAe,SAAQ,WAAW;IAC1C,IAAI,EAAE,QAAQ,CAAC;IACf,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,YAAY,EAAE,cAAc,EAAE,CAAC;AAE/B,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,aAAc,SAAQ,UAAU;IAC5D,IAAI,EAAE,QAAQ,CAAC;IACf,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,OAAO,CAAC;gBAEX,WAAW,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW;IAW1E,IAAI,IAAI,cAAc;CAQvB"}
@@ -1,23 +0,0 @@
1
- import PComponent from "../PComponent";
2
- import PVector3 from "../PVector3";
3
- export default class PCubeGeometry extends PComponent {
4
- size;
5
- castShadow;
6
- receiveShadow;
7
- constructor(dbComponent, node, context) {
8
- super(dbComponent, "PCubeGeometry", "Cube Geometry", node, context);
9
- this.requireTransform = true;
10
- this.size = new PVector3(dbComponent.size);
11
- this.castShadow = dbComponent.castShadow;
12
- this.receiveShadow = dbComponent.receiveShadow;
13
- }
14
- toDB() {
15
- return {
16
- ...super.toDB(),
17
- size: this.size,
18
- castShadow: this.castShadow,
19
- receiveShadow: this.receiveShadow,
20
- };
21
- }
22
- }
23
- //# sourceMappingURL=PCubeGeometry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PCubeGeometry.js","sourceRoot":"","sources":["../../src/pcomponents/PCubeGeometry.ts"],"names":[],"mappings":"AAEA,OAAO,UAA2B,MAAM,eAAe,CAAC;AACxD,OAAO,QAAsB,MAAM,aAAa,CAAC;AAUjD,MAAM,CAAC,OAAO,OAAgB,aAAc,SAAQ,UAAU;IAC5D,IAAI,CAAW;IACf,UAAU,CAAU;IACpB,aAAa,CAAU;IAEvB,YAAY,WAA2B,EAAE,IAAW,EAAE,OAAoB;QACxE,KAAK,CAAC,WAAW,EAAE,eAAe,EAAE,eAAe,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAEpE,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;QAE7B,IAAI,CAAC,IAAI,GAAG,IAAI,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QAE3C,IAAI,CAAC,UAAU,GAAG,WAAW,CAAC,UAAU,CAAC;QACzC,IAAI,CAAC,aAAa,GAAG,WAAW,CAAC,aAAa,CAAC;IACjD,CAAC;IAED,IAAI;QACF,OAAO;YACL,GAAG,KAAK,CAAC,IAAI,EAAE;YACf,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,aAAa,EAAE,IAAI,CAAC,aAAa;SAClC,CAAC;IACJ,CAAC;CACF"}
@@ -1,25 +0,0 @@
1
- import PComponent, { DBComponent } from "../PComponent";
2
- import { IInAction, PInAction } from "../PAction";
3
- import GameContext from "../GameContext";
4
- import PNode from "../PNode";
5
- interface DBDebug extends DBComponent {
6
- inevent_on: IInAction | null;
7
- inevent_onNumber: IInAction | null;
8
- inevent_onInteger: IInAction | null;
9
- inevent_onBoolean: IInAction | null;
10
- inevent_onColor: IInAction | null;
11
- }
12
- export type { DBDebug };
13
- export default class PDebug extends PComponent {
14
- inevent_on: PInAction | null;
15
- inevent_onNumber: PInAction | null;
16
- inevent_onInteger: PInAction | null;
17
- inevent_onBoolean: PInAction | null;
18
- inevent_onColor: PInAction | null;
19
- constructor(dbComponent: DBDebug, node: PNode, context: GameContext);
20
- toDB(): DBDebug;
21
- render(): void;
22
- unrender(): void;
23
- callback_onDebug(payloadValue: string | null): void;
24
- }
25
- //# sourceMappingURL=PDebug.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PDebug.d.ts","sourceRoot":"","sources":["../../src/pcomponents/PDebug.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,EAAE,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAElD,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,UAAU,CAAC;AAE7B,UAAU,OAAQ,SAAQ,WAAW;IACnC,UAAU,EAAE,SAAS,GAAG,IAAI,CAAC;IAC7B,gBAAgB,EAAE,SAAS,GAAG,IAAI,CAAC;IACnC,iBAAiB,EAAE,SAAS,GAAG,IAAI,CAAC;IACpC,iBAAiB,EAAE,SAAS,GAAG,IAAI,CAAC;IACpC,eAAe,EAAE,SAAS,GAAG,IAAI,CAAC;CACnC;AACD,YAAY,EAAE,OAAO,EAAE,CAAC;AAExB,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,UAAU;IAC5C,UAAU,EAAE,SAAS,GAAG,IAAI,CAAC;IAC7B,gBAAgB,EAAE,SAAS,GAAG,IAAI,CAAC;IACnC,iBAAiB,EAAE,SAAS,GAAG,IAAI,CAAC;IACpC,iBAAiB,EAAE,SAAS,GAAG,IAAI,CAAC;IACpC,eAAe,EAAE,SAAS,GAAG,IAAI,CAAC;gBAEtB,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW;IA0CnE,IAAI,IAAI,OAAO;IAWf,MAAM,IAAI,IAAI;IAEd,QAAQ,IAAI,IAAI;IAEhB,gBAAgB,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI;CAG7C"}
@@ -1,34 +0,0 @@
1
- import PComponent from "../PComponent";
2
- import { PInAction } from "../PAction";
3
- import { DataType } from "../PEnums";
4
- export default class PDebug extends PComponent {
5
- inevent_on;
6
- inevent_onNumber;
7
- inevent_onInteger;
8
- inevent_onBoolean;
9
- inevent_onColor;
10
- constructor(dbComponent, node, context) {
11
- super(dbComponent, "PDebug", "Debug", node, context);
12
- this.inevent_on = node.registerInAction(this, "Debug String", dbComponent.inevent_on, this.callback_onDebug, DataType.String);
13
- this.inevent_onNumber = node.registerInAction(this, "Debug Number", dbComponent.inevent_onNumber, this.callback_onDebug, DataType.Number);
14
- this.inevent_onBoolean = node.registerInAction(this, "Debug Boolean", dbComponent.inevent_onBoolean, this.callback_onDebug, DataType.Boolean);
15
- this.inevent_onInteger = node.registerInAction(this, "Debug Integer", dbComponent.inevent_onInteger, this.callback_onDebug, DataType.Integer);
16
- this.inevent_onColor = node.registerInAction(this, "Debug Color", dbComponent.inevent_onColor, this.callback_onDebug, DataType.Color);
17
- }
18
- toDB() {
19
- return {
20
- ...super.toDB(),
21
- inevent_on: PInAction.toDB(this.inevent_on),
22
- inevent_onNumber: PInAction.toDB(this.inevent_onNumber),
23
- inevent_onBoolean: PInAction.toDB(this.inevent_onBoolean),
24
- inevent_onInteger: PInAction.toDB(this.inevent_onInteger),
25
- inevent_onColor: PInAction.toDB(this.inevent_onColor),
26
- };
27
- }
28
- render() { }
29
- unrender() { }
30
- callback_onDebug(payloadValue) {
31
- console.log("[PDebug][" + this.node.name + "]", payloadValue);
32
- }
33
- }
34
- //# sourceMappingURL=PDebug.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PDebug.js","sourceRoot":"","sources":["../../src/pcomponents/PDebug.ts"],"names":[],"mappings":"AAAA,OAAO,UAA2B,MAAM,eAAe,CAAC;AACxD,OAAO,EAAa,SAAS,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAarC,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,UAAU;IAC5C,UAAU,CAAmB;IAC7B,gBAAgB,CAAmB;IACnC,iBAAiB,CAAmB;IACpC,iBAAiB,CAAmB;IACpC,eAAe,CAAmB;IAElC,YAAY,WAAoB,EAAE,IAAW,EAAE,OAAoB;QACjE,KAAK,CAAC,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAErD,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,gBAAgB,CACrC,IAAI,EACJ,cAAc,EACd,WAAW,CAAC,UAAU,EACtB,IAAI,CAAC,gBAAgB,EACrB,QAAQ,CAAC,MAAM,CAChB,CAAC;QACF,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAC3C,IAAI,EACJ,cAAc,EACd,WAAW,CAAC,gBAAgB,EAC5B,IAAI,CAAC,gBAAgB,EACrB,QAAQ,CAAC,MAAM,CAChB,CAAC;QACF,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC,gBAAgB,CAC5C,IAAI,EACJ,eAAe,EACf,WAAW,CAAC,iBAAiB,EAC7B,IAAI,CAAC,gBAAgB,EACrB,QAAQ,CAAC,OAAO,CACjB,CAAC;QAEF,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC,gBAAgB,CAC5C,IAAI,EACJ,eAAe,EACf,WAAW,CAAC,iBAAiB,EAC7B,IAAI,CAAC,gBAAgB,EACrB,QAAQ,CAAC,OAAO,CACjB,CAAC;QAEF,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,gBAAgB,CAC1C,IAAI,EACJ,aAAa,EACb,WAAW,CAAC,eAAe,EAC3B,IAAI,CAAC,gBAAgB,EACrB,QAAQ,CAAC,KAAK,CACf,CAAC;IACJ,CAAC;IAED,IAAI;QACF,OAAO;YACL,GAAG,KAAK,CAAC,IAAI,EAAE;YACf,UAAU,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC;YAC3C,gBAAgB,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC;YACvD,iBAAiB,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC;YACzD,iBAAiB,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC;YACzD,eAAe,EAAE,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC;SACtD,CAAC;IACJ,CAAC;IAED,MAAM,KAAU,CAAC;IAEjB,QAAQ,KAAU,CAAC;IAEnB,gBAAgB,CAAC,YAA2B;QAC1C,OAAO,CAAC,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,GAAG,GAAG,EAAE,YAAY,CAAC,CAAC;IAChE,CAAC;CACF"}
@@ -1,27 +0,0 @@
1
- import GameContext from "../GameContext";
2
- import PNode from "../PNode";
3
- import PComponent, { DBComponent } from "../PComponent";
4
- interface DBEnvironment extends DBComponent {
5
- value: number;
6
- rotation: number;
7
- intensity: number;
8
- blur: number;
9
- background: boolean;
10
- }
11
- export type { DBEnvironment };
12
- export default abstract class PEnvironment extends PComponent {
13
- _cacheKey: number;
14
- value: number;
15
- rotation: number;
16
- intensity: number;
17
- blur: number;
18
- background: boolean;
19
- protected _urls: string[][];
20
- protected _three: string[];
21
- constructor(dbComponent: DBEnvironment, node: PNode, context: GameContext);
22
- toDB(): DBEnvironment;
23
- abstract getTexture<T>(): T | null;
24
- abstract _dispose(): void;
25
- unrender(): void;
26
- }
27
- //# sourceMappingURL=PEnvironment.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PEnvironment.d.ts","sourceRoot":"","sources":["../../src/pcomponents/PEnvironment.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,UAAU,CAAC;AAC7B,OAAO,UAAU,EAAE,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAExD,UAAU,aAAc,SAAQ,WAAW;IAEzC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,YAAY,EAAE,aAAa,EAAE,CAAC;AAE9B,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,YAAa,SAAQ,UAAU;IAE3D,SAAS,SAAK;IAEd,KAAK,EAAE,MAAM,CAAC;IAEd,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,OAAO,CAAC;IAEpB,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,CAOzB;IAEF,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,CAAM;gBAEpB,WAAW,EAAE,aAAa,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW;IAazE,IAAI,IAAI,aAAa;IAYrB,QAAQ,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,GAAG,IAAI;IAWlC,QAAQ,CAAC,QAAQ,IAAI,IAAI;IAEzB,QAAQ;CAGT"}
@@ -1,43 +0,0 @@
1
- import PComponent from "../PComponent";
2
- export default class PEnvironment extends PComponent {
3
- //file_texture: PFile | null;
4
- _cacheKey = 0;
5
- value;
6
- rotation;
7
- intensity;
8
- blur;
9
- background;
10
- _urls = [
11
- [
12
- "https://p100-pw.s3.eu-north-1.amazonaws.com/697618e47ec1cd94f1ddb4e6/IndustrialRoom.hdr",
13
- ],
14
- [
15
- "https://p100-pw.s3.eu-north-1.amazonaws.com/697618e37ec1cd94f1ddb4e5/IndustrialRoom.env",
16
- ],
17
- ];
18
- _three = [];
19
- constructor(dbComponent, node, context) {
20
- super(dbComponent, "PEnvironment", "Environment", node, context);
21
- //this.file_texture = this.context.requestFile(dbComponent.file_texture);
22
- this.value = dbComponent.value || 0;
23
- this.rotation = dbComponent.rotation;
24
- this.intensity = dbComponent.intensity;
25
- this.background = dbComponent.background;
26
- this.blur = dbComponent.blur || 0;
27
- }
28
- toDB() {
29
- return {
30
- ...super.toDB(),
31
- //file_texture: this.file_texture !== null ? this.file_texture._id : null,
32
- rotation: this.rotation,
33
- intensity: this.intensity,
34
- background: this.background,
35
- blur: this.blur,
36
- value: this.value,
37
- };
38
- }
39
- unrender() {
40
- this._dispose();
41
- }
42
- }
43
- //# sourceMappingURL=PEnvironment.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PEnvironment.js","sourceRoot":"","sources":["../../src/pcomponents/PEnvironment.ts"],"names":[],"mappings":"AAEA,OAAO,UAA2B,MAAM,eAAe,CAAC;AAaxD,MAAM,CAAC,OAAO,OAAgB,YAAa,SAAQ,UAAU;IAC3D,6BAA6B;IAC7B,SAAS,GAAG,CAAC,CAAC;IAEd,KAAK,CAAS;IAEd,QAAQ,CAAS;IACjB,SAAS,CAAS;IAClB,IAAI,CAAS;IACb,UAAU,CAAU;IAEV,KAAK,GAAe;QAC5B;YACE,yFAAyF;SAC1F;QACD;YACE,yFAAyF;SAC1F;KACF,CAAC;IAEQ,MAAM,GAAa,EAAE,CAAC;IAEhC,YAAY,WAA0B,EAAE,IAAW,EAAE,OAAoB;QACvE,KAAK,CAAC,WAAW,EAAE,cAAc,EAAE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