@p100-web/core 100.0.62 → 100.0.64

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 (350) hide show
  1. package/package.json +3 -4
  2. package/dist/index.d.ts +0 -136
  3. package/dist/index.d.ts.map +0 -1
  4. package/dist/index.js +0 -101
  5. package/dist/index.js.map +0 -1
  6. package/dist/src/AdaptivePerformance.d.ts +0 -20
  7. package/dist/src/AdaptivePerformance.d.ts.map +0 -1
  8. package/dist/src/AdaptivePerformance.js +0 -110
  9. package/dist/src/AdaptivePerformance.js.map +0 -1
  10. package/dist/src/DBEvent.d.ts +0 -22
  11. package/dist/src/DBEvent.d.ts.map +0 -1
  12. package/dist/src/DBEvent.js +0 -19
  13. package/dist/src/DBEvent.js.map +0 -1
  14. package/dist/src/DBNode.d.ts +0 -33
  15. package/dist/src/DBNode.d.ts.map +0 -1
  16. package/dist/src/DBNode.js +0 -31
  17. package/dist/src/DBNode.js.map +0 -1
  18. package/dist/src/DBScene.d.ts +0 -11
  19. package/dist/src/DBScene.d.ts.map +0 -1
  20. package/dist/src/DBScene.js +0 -9
  21. package/dist/src/DBScene.js.map +0 -1
  22. package/dist/src/DBVariable.d.ts +0 -22
  23. package/dist/src/DBVariable.d.ts.map +0 -1
  24. package/dist/src/DBVariable.js +0 -19
  25. package/dist/src/DBVariable.js.map +0 -1
  26. package/dist/src/DevTools.d.ts +0 -4
  27. package/dist/src/DevTools.d.ts.map +0 -1
  28. package/dist/src/DevTools.js +0 -10
  29. package/dist/src/DevTools.js.map +0 -1
  30. package/dist/src/GameContext.d.ts +0 -179
  31. package/dist/src/GameContext.d.ts.map +0 -1
  32. package/dist/src/GameContext.js +0 -594
  33. package/dist/src/GameContext.js.map +0 -1
  34. package/dist/src/IAudioListener.d.ts +0 -4
  35. package/dist/src/IAudioListener.d.ts.map +0 -1
  36. package/dist/src/IAudioListener.js +0 -2
  37. package/dist/src/IAudioListener.js.map +0 -1
  38. package/dist/src/ICameraControls.d.ts +0 -14
  39. package/dist/src/ICameraControls.d.ts.map +0 -1
  40. package/dist/src/ICameraControls.js +0 -2
  41. package/dist/src/ICameraControls.js.map +0 -1
  42. package/dist/src/ICameraNode.d.ts +0 -6
  43. package/dist/src/ICameraNode.d.ts.map +0 -1
  44. package/dist/src/ICameraNode.js +0 -2
  45. package/dist/src/ICameraNode.js.map +0 -1
  46. package/dist/src/IComponentFactory.d.ts +0 -8
  47. package/dist/src/IComponentFactory.d.ts.map +0 -1
  48. package/dist/src/IComponentFactory.js +0 -2
  49. package/dist/src/IComponentFactory.js.map +0 -1
  50. package/dist/src/IEngine.d.ts +0 -26
  51. package/dist/src/IEngine.d.ts.map +0 -1
  52. package/dist/src/IEngine.js +0 -2
  53. package/dist/src/IEngine.js.map +0 -1
  54. package/dist/src/IMaterial.d.ts +0 -5
  55. package/dist/src/IMaterial.d.ts.map +0 -1
  56. package/dist/src/IMaterial.js +0 -2
  57. package/dist/src/IMaterial.js.map +0 -1
  58. package/dist/src/IPCanvas.d.ts +0 -45
  59. package/dist/src/IPCanvas.d.ts.map +0 -1
  60. package/dist/src/IPCanvas.js +0 -2
  61. package/dist/src/IPCanvas.js.map +0 -1
  62. package/dist/src/IPNodeRenderer.d.ts +0 -23
  63. package/dist/src/IPNodeRenderer.d.ts.map +0 -1
  64. package/dist/src/IPNodeRenderer.js +0 -2
  65. package/dist/src/IPNodeRenderer.js.map +0 -1
  66. package/dist/src/IStats.d.ts +0 -9
  67. package/dist/src/IStats.d.ts.map +0 -1
  68. package/dist/src/IStats.js +0 -3
  69. package/dist/src/IStats.js.map +0 -1
  70. package/dist/src/MathTools.d.ts +0 -4
  71. package/dist/src/MathTools.d.ts.map +0 -1
  72. package/dist/src/MathTools.js +0 -7
  73. package/dist/src/MathTools.js.map +0 -1
  74. package/dist/src/PAction.d.ts +0 -64
  75. package/dist/src/PAction.d.ts.map +0 -1
  76. package/dist/src/PAction.js +0 -209
  77. package/dist/src/PAction.js.map +0 -1
  78. package/dist/src/PComponent.d.ts +0 -60
  79. package/dist/src/PComponent.d.ts.map +0 -1
  80. package/dist/src/PComponent.js +0 -44
  81. package/dist/src/PComponent.js.map +0 -1
  82. package/dist/src/PEnums.d.ts +0 -98
  83. package/dist/src/PEnums.d.ts.map +0 -1
  84. package/dist/src/PEnums.js +0 -110
  85. package/dist/src/PEnums.js.map +0 -1
  86. package/dist/src/PEvent.d.ts +0 -27
  87. package/dist/src/PEvent.d.ts.map +0 -1
  88. package/dist/src/PEvent.js +0 -40
  89. package/dist/src/PEvent.js.map +0 -1
  90. package/dist/src/PNode.d.ts +0 -111
  91. package/dist/src/PNode.d.ts.map +0 -1
  92. package/dist/src/PNode.js +0 -488
  93. package/dist/src/PNode.js.map +0 -1
  94. package/dist/src/PPayload.d.ts +0 -7
  95. package/dist/src/PPayload.d.ts.map +0 -1
  96. package/dist/src/PPayload.js +0 -19
  97. package/dist/src/PPayload.js.map +0 -1
  98. package/dist/src/PTypes.d.ts +0 -140
  99. package/dist/src/PTypes.d.ts.map +0 -1
  100. package/dist/src/PTypes.js +0 -2
  101. package/dist/src/PTypes.js.map +0 -1
  102. package/dist/src/PVariable.d.ts +0 -29
  103. package/dist/src/PVariable.d.ts.map +0 -1
  104. package/dist/src/PVariable.js +0 -51
  105. package/dist/src/PVariable.js.map +0 -1
  106. package/dist/src/PVector2.d.ts +0 -14
  107. package/dist/src/PVector2.d.ts.map +0 -1
  108. package/dist/src/PVector2.js +0 -25
  109. package/dist/src/PVector2.js.map +0 -1
  110. package/dist/src/PVector3.d.ts +0 -17
  111. package/dist/src/PVector3.d.ts.map +0 -1
  112. package/dist/src/PVector3.js +0 -36
  113. package/dist/src/PVector3.js.map +0 -1
  114. package/dist/src/animations/IAnimationAction.d.ts +0 -9
  115. package/dist/src/animations/IAnimationAction.d.ts.map +0 -1
  116. package/dist/src/animations/IAnimationAction.js +0 -2
  117. package/dist/src/animations/IAnimationAction.js.map +0 -1
  118. package/dist/src/animations/IAnimationClip.d.ts +0 -5
  119. package/dist/src/animations/IAnimationClip.d.ts.map +0 -1
  120. package/dist/src/animations/IAnimationClip.js +0 -2
  121. package/dist/src/animations/IAnimationClip.js.map +0 -1
  122. package/dist/src/animations/IAnimationMixer.d.ts +0 -7
  123. package/dist/src/animations/IAnimationMixer.d.ts.map +0 -1
  124. package/dist/src/animations/IAnimationMixer.js +0 -2
  125. package/dist/src/animations/IAnimationMixer.js.map +0 -1
  126. package/dist/src/media/IMediaLoader.d.ts +0 -31
  127. package/dist/src/media/IMediaLoader.d.ts.map +0 -1
  128. package/dist/src/media/IMediaLoader.js +0 -2
  129. package/dist/src/media/IMediaLoader.js.map +0 -1
  130. package/dist/src/media/MediaManager.d.ts +0 -17
  131. package/dist/src/media/MediaManager.d.ts.map +0 -1
  132. package/dist/src/media/MediaManager.js +0 -19
  133. package/dist/src/media/MediaManager.js.map +0 -1
  134. package/dist/src/media/PFile.d.ts +0 -13
  135. package/dist/src/media/PFile.d.ts.map +0 -1
  136. package/dist/src/media/PFile.js +0 -28
  137. package/dist/src/media/PFile.js.map +0 -1
  138. package/dist/src/pcomponents/BaseBackground.d.ts +0 -27
  139. package/dist/src/pcomponents/BaseBackground.d.ts.map +0 -1
  140. package/dist/src/pcomponents/BaseBackground.js +0 -21
  141. package/dist/src/pcomponents/BaseBackground.js.map +0 -1
  142. package/dist/src/pcomponents/BaseMaterial.d.ts +0 -45
  143. package/dist/src/pcomponents/BaseMaterial.d.ts.map +0 -1
  144. package/dist/src/pcomponents/BaseMaterial.js +0 -47
  145. package/dist/src/pcomponents/BaseMaterial.js.map +0 -1
  146. package/dist/src/pcomponents/PAnimator.d.ts +0 -37
  147. package/dist/src/pcomponents/PAnimator.d.ts.map +0 -1
  148. package/dist/src/pcomponents/PAnimator.js +0 -43
  149. package/dist/src/pcomponents/PAnimator.js.map +0 -1
  150. package/dist/src/pcomponents/PBasicMaterial.d.ts +0 -23
  151. package/dist/src/pcomponents/PBasicMaterial.d.ts.map +0 -1
  152. package/dist/src/pcomponents/PBasicMaterial.js +0 -38
  153. package/dist/src/pcomponents/PBasicMaterial.js.map +0 -1
  154. package/dist/src/pcomponents/PCallAction.d.ts +0 -19
  155. package/dist/src/pcomponents/PCallAction.d.ts.map +0 -1
  156. package/dist/src/pcomponents/PCallAction.js +0 -25
  157. package/dist/src/pcomponents/PCallAction.js.map +0 -1
  158. package/dist/src/pcomponents/PCallActions.d.ts +0 -24
  159. package/dist/src/pcomponents/PCallActions.d.ts.map +0 -1
  160. package/dist/src/pcomponents/PCallActions.js +0 -38
  161. package/dist/src/pcomponents/PCallActions.js.map +0 -1
  162. package/dist/src/pcomponents/PCameraPosition.d.ts +0 -29
  163. package/dist/src/pcomponents/PCameraPosition.d.ts.map +0 -1
  164. package/dist/src/pcomponents/PCameraPosition.js +0 -76
  165. package/dist/src/pcomponents/PCameraPosition.js.map +0 -1
  166. package/dist/src/pcomponents/PCameraTarget.d.ts +0 -29
  167. package/dist/src/pcomponents/PCameraTarget.d.ts.map +0 -1
  168. package/dist/src/pcomponents/PCameraTarget.js +0 -77
  169. package/dist/src/pcomponents/PCameraTarget.js.map +0 -1
  170. package/dist/src/pcomponents/PCollider.d.ts +0 -39
  171. package/dist/src/pcomponents/PCollider.d.ts.map +0 -1
  172. package/dist/src/pcomponents/PCollider.js +0 -56
  173. package/dist/src/pcomponents/PCollider.js.map +0 -1
  174. package/dist/src/pcomponents/PCompareBoolean.d.ts +0 -23
  175. package/dist/src/pcomponents/PCompareBoolean.d.ts.map +0 -1
  176. package/dist/src/pcomponents/PCompareBoolean.js +0 -39
  177. package/dist/src/pcomponents/PCompareBoolean.js.map +0 -1
  178. package/dist/src/pcomponents/PCompareNumber.d.ts +0 -25
  179. package/dist/src/pcomponents/PCompareNumber.d.ts.map +0 -1
  180. package/dist/src/pcomponents/PCompareNumber.js +0 -45
  181. package/dist/src/pcomponents/PCompareNumber.js.map +0 -1
  182. package/dist/src/pcomponents/PCompareString.d.ts +0 -25
  183. package/dist/src/pcomponents/PCompareString.d.ts.map +0 -1
  184. package/dist/src/pcomponents/PCompareString.js +0 -43
  185. package/dist/src/pcomponents/PCompareString.js.map +0 -1
  186. package/dist/src/pcomponents/PCompareVariable.d.ts +0 -28
  187. package/dist/src/pcomponents/PCompareVariable.d.ts.map +0 -1
  188. package/dist/src/pcomponents/PCompareVariable.js +0 -51
  189. package/dist/src/pcomponents/PCompareVariable.js.map +0 -1
  190. package/dist/src/pcomponents/PControllerInput.d.ts +0 -30
  191. package/dist/src/pcomponents/PControllerInput.d.ts.map +0 -1
  192. package/dist/src/pcomponents/PControllerInput.js +0 -42
  193. package/dist/src/pcomponents/PControllerInput.js.map +0 -1
  194. package/dist/src/pcomponents/PCubeGeometry.d.ts +0 -18
  195. package/dist/src/pcomponents/PCubeGeometry.d.ts.map +0 -1
  196. package/dist/src/pcomponents/PCubeGeometry.js +0 -22
  197. package/dist/src/pcomponents/PCubeGeometry.js.map +0 -1
  198. package/dist/src/pcomponents/PDebug.d.ts +0 -21
  199. package/dist/src/pcomponents/PDebug.d.ts.map +0 -1
  200. package/dist/src/pcomponents/PDebug.js +0 -31
  201. package/dist/src/pcomponents/PDebug.js.map +0 -1
  202. package/dist/src/pcomponents/PEnvironment.d.ts +0 -28
  203. package/dist/src/pcomponents/PEnvironment.d.ts.map +0 -1
  204. package/dist/src/pcomponents/PEnvironment.js +0 -44
  205. package/dist/src/pcomponents/PEnvironment.js.map +0 -1
  206. package/dist/src/pcomponents/PFadeAnimation.d.ts +0 -30
  207. package/dist/src/pcomponents/PFadeAnimation.d.ts.map +0 -1
  208. package/dist/src/pcomponents/PFadeAnimation.js +0 -94
  209. package/dist/src/pcomponents/PFadeAnimation.js.map +0 -1
  210. package/dist/src/pcomponents/PHud.d.ts +0 -12
  211. package/dist/src/pcomponents/PHud.d.ts.map +0 -1
  212. package/dist/src/pcomponents/PHud.js +0 -12
  213. package/dist/src/pcomponents/PHud.js.map +0 -1
  214. package/dist/src/pcomponents/PImageBackground.d.ts +0 -13
  215. package/dist/src/pcomponents/PImageBackground.d.ts.map +0 -1
  216. package/dist/src/pcomponents/PImageBackground.js +0 -18
  217. package/dist/src/pcomponents/PImageBackground.js.map +0 -1
  218. package/dist/src/pcomponents/PImageCache.d.ts +0 -22
  219. package/dist/src/pcomponents/PImageCache.d.ts.map +0 -1
  220. package/dist/src/pcomponents/PImageCache.js +0 -69
  221. package/dist/src/pcomponents/PImageCache.js.map +0 -1
  222. package/dist/src/pcomponents/PImageDetector.d.ts +0 -28
  223. package/dist/src/pcomponents/PImageDetector.d.ts.map +0 -1
  224. package/dist/src/pcomponents/PImageDetector.js +0 -38
  225. package/dist/src/pcomponents/PImageDetector.js.map +0 -1
  226. package/dist/src/pcomponents/PLight.d.ts +0 -15
  227. package/dist/src/pcomponents/PLight.d.ts.map +0 -1
  228. package/dist/src/pcomponents/PLight.js +0 -18
  229. package/dist/src/pcomponents/PLight.js.map +0 -1
  230. package/dist/src/pcomponents/PLightDirectional.d.ts +0 -19
  231. package/dist/src/pcomponents/PLightDirectional.d.ts.map +0 -1
  232. package/dist/src/pcomponents/PLightDirectional.js +0 -24
  233. package/dist/src/pcomponents/PLightDirectional.js.map +0 -1
  234. package/dist/src/pcomponents/PMaskedMaterial.d.ts +0 -20
  235. package/dist/src/pcomponents/PMaskedMaterial.d.ts.map +0 -1
  236. package/dist/src/pcomponents/PMaskedMaterial.js +0 -35
  237. package/dist/src/pcomponents/PMaskedMaterial.js.map +0 -1
  238. package/dist/src/pcomponents/PModelGLTF.d.ts +0 -33
  239. package/dist/src/pcomponents/PModelGLTF.d.ts.map +0 -1
  240. package/dist/src/pcomponents/PModelGLTF.js +0 -53
  241. package/dist/src/pcomponents/PModelGLTF.js.map +0 -1
  242. package/dist/src/pcomponents/PMoveAnimation.d.ts +0 -22
  243. package/dist/src/pcomponents/PMoveAnimation.d.ts.map +0 -1
  244. package/dist/src/pcomponents/PMoveAnimation.js +0 -44
  245. package/dist/src/pcomponents/PMoveAnimation.js.map +0 -1
  246. package/dist/src/pcomponents/PMoveToAnimation.d.ts +0 -26
  247. package/dist/src/pcomponents/PMoveToAnimation.d.ts.map +0 -1
  248. package/dist/src/pcomponents/PMoveToAnimation.js +0 -79
  249. package/dist/src/pcomponents/PMoveToAnimation.js.map +0 -1
  250. package/dist/src/pcomponents/PPhysicalMaterial.d.ts +0 -27
  251. package/dist/src/pcomponents/PPhysicalMaterial.d.ts.map +0 -1
  252. package/dist/src/pcomponents/PPhysicalMaterial.js +0 -41
  253. package/dist/src/pcomponents/PPhysicalMaterial.js.map +0 -1
  254. package/dist/src/pcomponents/PPlaneDetector.d.ts +0 -20
  255. package/dist/src/pcomponents/PPlaneDetector.d.ts.map +0 -1
  256. package/dist/src/pcomponents/PPlaneDetector.js +0 -26
  257. package/dist/src/pcomponents/PPlaneDetector.js.map +0 -1
  258. package/dist/src/pcomponents/PPlaneGeometry.d.ts +0 -20
  259. package/dist/src/pcomponents/PPlaneGeometry.d.ts.map +0 -1
  260. package/dist/src/pcomponents/PPlaneGeometry.js +0 -25
  261. package/dist/src/pcomponents/PPlaneGeometry.js.map +0 -1
  262. package/dist/src/pcomponents/PProjectRoot.d.ts +0 -38
  263. package/dist/src/pcomponents/PProjectRoot.d.ts.map +0 -1
  264. package/dist/src/pcomponents/PProjectRoot.js +0 -82
  265. package/dist/src/pcomponents/PProjectRoot.js.map +0 -1
  266. package/dist/src/pcomponents/PRotateAnimation.d.ts +0 -30
  267. package/dist/src/pcomponents/PRotateAnimation.d.ts.map +0 -1
  268. package/dist/src/pcomponents/PRotateAnimation.js +0 -72
  269. package/dist/src/pcomponents/PRotateAnimation.js.map +0 -1
  270. package/dist/src/pcomponents/PScaleAnimation.d.ts +0 -28
  271. package/dist/src/pcomponents/PScaleAnimation.d.ts.map +0 -1
  272. package/dist/src/pcomponents/PScaleAnimation.js +0 -75
  273. package/dist/src/pcomponents/PScaleAnimation.js.map +0 -1
  274. package/dist/src/pcomponents/PSceneContainer.d.ts +0 -22
  275. package/dist/src/pcomponents/PSceneContainer.d.ts.map +0 -1
  276. package/dist/src/pcomponents/PSceneContainer.js +0 -50
  277. package/dist/src/pcomponents/PSceneContainer.js.map +0 -1
  278. package/dist/src/pcomponents/PSceneRoot.d.ts +0 -16
  279. package/dist/src/pcomponents/PSceneRoot.d.ts.map +0 -1
  280. package/dist/src/pcomponents/PSceneRoot.js +0 -22
  281. package/dist/src/pcomponents/PSceneRoot.js.map +0 -1
  282. package/dist/src/pcomponents/PSlider.d.ts +0 -28
  283. package/dist/src/pcomponents/PSlider.d.ts.map +0 -1
  284. package/dist/src/pcomponents/PSlider.js +0 -37
  285. package/dist/src/pcomponents/PSlider.js.map +0 -1
  286. package/dist/src/pcomponents/PSound.d.ts +0 -34
  287. package/dist/src/pcomponents/PSound.d.ts.map +0 -1
  288. package/dist/src/pcomponents/PSound.js +0 -44
  289. package/dist/src/pcomponents/PSound.js.map +0 -1
  290. package/dist/src/pcomponents/PSphereGeometry.d.ts +0 -19
  291. package/dist/src/pcomponents/PSphereGeometry.d.ts.map +0 -1
  292. package/dist/src/pcomponents/PSphereGeometry.js +0 -24
  293. package/dist/src/pcomponents/PSphereGeometry.js.map +0 -1
  294. package/dist/src/pcomponents/PSprite.d.ts +0 -19
  295. package/dist/src/pcomponents/PSprite.d.ts.map +0 -1
  296. package/dist/src/pcomponents/PSprite.js +0 -26
  297. package/dist/src/pcomponents/PSprite.js.map +0 -1
  298. package/dist/src/pcomponents/PSpriteAnimation.d.ts +0 -25
  299. package/dist/src/pcomponents/PSpriteAnimation.d.ts.map +0 -1
  300. package/dist/src/pcomponents/PSpriteAnimation.js +0 -29
  301. package/dist/src/pcomponents/PSpriteAnimation.js.map +0 -1
  302. package/dist/src/pcomponents/PText.d.ts +0 -35
  303. package/dist/src/pcomponents/PText.d.ts.map +0 -1
  304. package/dist/src/pcomponents/PText.js +0 -48
  305. package/dist/src/pcomponents/PText.js.map +0 -1
  306. package/dist/src/pcomponents/PTransform.d.ts +0 -22
  307. package/dist/src/pcomponents/PTransform.d.ts.map +0 -1
  308. package/dist/src/pcomponents/PTransform.js +0 -37
  309. package/dist/src/pcomponents/PTransform.js.map +0 -1
  310. package/dist/src/pcomponents/PVarList.d.ts +0 -26
  311. package/dist/src/pcomponents/PVarList.d.ts.map +0 -1
  312. package/dist/src/pcomponents/PVarList.js +0 -52
  313. package/dist/src/pcomponents/PVarList.js.map +0 -1
  314. package/dist/src/pcomponents/PVarReader.d.ts +0 -19
  315. package/dist/src/pcomponents/PVarReader.d.ts.map +0 -1
  316. package/dist/src/pcomponents/PVarReader.js +0 -26
  317. package/dist/src/pcomponents/PVarReader.js.map +0 -1
  318. package/dist/src/pcomponents/PVarWriter.d.ts +0 -25
  319. package/dist/src/pcomponents/PVarWriter.d.ts.map +0 -1
  320. package/dist/src/pcomponents/PVarWriter.js +0 -46
  321. package/dist/src/pcomponents/PVarWriter.js.map +0 -1
  322. package/dist/src/pcomponents/PVideoBackground.d.ts +0 -36
  323. package/dist/src/pcomponents/PVideoBackground.d.ts.map +0 -1
  324. package/dist/src/pcomponents/PVideoBackground.js +0 -89
  325. package/dist/src/pcomponents/PVideoBackground.js.map +0 -1
  326. package/dist/src/pcomponents/PVideoMaterial.d.ts +0 -26
  327. package/dist/src/pcomponents/PVideoMaterial.d.ts.map +0 -1
  328. package/dist/src/pcomponents/PVideoMaterial.js +0 -40
  329. package/dist/src/pcomponents/PVideoMaterial.js.map +0 -1
  330. package/dist/src/pcomponents/PVideoPlayer.d.ts +0 -31
  331. package/dist/src/pcomponents/PVideoPlayer.d.ts.map +0 -1
  332. package/dist/src/pcomponents/PVideoPlayer.js +0 -70
  333. package/dist/src/pcomponents/PVideoPlayer.js.map +0 -1
  334. package/dist/src/pcomponents/PVisibility.d.ts +0 -33
  335. package/dist/src/pcomponents/PVisibility.d.ts.map +0 -1
  336. package/dist/src/pcomponents/PVisibility.js +0 -62
  337. package/dist/src/pcomponents/PVisibility.js.map +0 -1
  338. package/dist/src/pcomponents/PXRTools.d.ts +0 -32
  339. package/dist/src/pcomponents/PXRTools.d.ts.map +0 -1
  340. package/dist/src/pcomponents/PXRTools.js +0 -45
  341. package/dist/src/pcomponents/PXRTools.js.map +0 -1
  342. package/dist/src/settings/Settings_Base.d.ts +0 -7
  343. package/dist/src/settings/Settings_Base.d.ts.map +0 -1
  344. package/dist/src/settings/Settings_Base.js +0 -18
  345. package/dist/src/settings/Settings_Base.js.map +0 -1
  346. package/dist/src/settings/Settings_Threejs.d.ts +0 -9
  347. package/dist/src/settings/Settings_Threejs.d.ts.map +0 -1
  348. package/dist/src/settings/Settings_Threejs.js +0 -172
  349. package/dist/src/settings/Settings_Threejs.js.map +0 -1
  350. package/index.js +0 -1
package/dist/src/PNode.js DELETED
@@ -1,488 +0,0 @@
1
- import { PInAction, POutAction, } from "./PAction";
2
- import { ActionType, DataType, Language, PayloadSource, Platform, PProperties, } from "./PEnums";
3
- export default class PNode {
4
- // Runtime state
5
- _enabled = false;
6
- _rendered = false;
7
- _running = false;
8
- _disposed = false;
9
- // If this node's is set to be visible
10
- _visible = false;
11
- // _inVariables: PInVariable[] = [];
12
- // _outVariables: POutVariable[] = [];
13
- _inActions = [];
14
- _outActions = [];
15
- // Database fields
16
- id;
17
- sceneId;
18
- projectId;
19
- blueprintId;
20
- name;
21
- parentId;
22
- visible;
23
- components;
24
- layer;
25
- // Renderer
26
- renderer;
27
- // Editor fields
28
- editor_visible;
29
- // Runtime fields
30
- parent = null;
31
- children = [];
32
- _el = null;
33
- context;
34
- _properties = PProperties.None;
35
- _abstract = false;
36
- _platforms = Platform.All;
37
- _languages = Language.All;
38
- _nodeLink = false;
39
- // Shortcuts
40
- transform = null;
41
- collider = null;
42
- material = null;
43
- //
44
- // CONSTRUCTION & DESTRUCTION
45
- //
46
- constructor(dbItem, context, renderer) {
47
- this.id = dbItem._id;
48
- this.projectId = dbItem._project;
49
- this.sceneId = dbItem._scene;
50
- this.parentId = dbItem._parent;
51
- this.blueprintId = dbItem._blueprint;
52
- this.name = dbItem.name;
53
- this.visible = dbItem.visible;
54
- this.editor_visible = dbItem.editor_visible;
55
- this.context = context;
56
- this._platforms = dbItem.platform === 0 ? Platform.All : dbItem.platform;
57
- this._languages = dbItem.language === 0 ? Language.All : dbItem.language;
58
- this.layer = dbItem.layer;
59
- // Visible is true by default
60
- this._visible = this.context.editor ? this.editor_visible : this.visible;
61
- this.renderer = renderer;
62
- // Components
63
- this.components = context.createComponents(this, dbItem.components);
64
- }
65
- //
66
- // EL
67
- //
68
- hasEl() {
69
- return this._el !== null;
70
- }
71
- getEl() {
72
- return this._el;
73
- }
74
- //
75
- // TYPES
76
- //
77
- isAbstract() {
78
- return this._abstract;
79
- }
80
- updateByComponent() {
81
- this._properties = 0;
82
- this._abstract = true;
83
- for (const component of this.components) {
84
- if (component === null)
85
- continue;
86
- this._abstract = this._abstract && component.abstract;
87
- if (component.properties !== 0) {
88
- this._properties = this._properties | component.properties;
89
- }
90
- }
91
- }
92
- updateAbstract() {
93
- // Root is never abstract
94
- if (this.parent === null)
95
- this._abstract = false;
96
- else if (this._abstract === false) {
97
- let parent = this.parent;
98
- while (parent.isAbstract()) {
99
- parent._abstract = false;
100
- if (parent.parent === null)
101
- break;
102
- parent = parent.parent;
103
- }
104
- }
105
- for (const kid of this.children) {
106
- kid.updateAbstract();
107
- }
108
- }
109
- hasProperty(value) {
110
- return (this._properties & value) > 0;
111
- }
112
- //
113
- // LIFE CYCLE
114
- //
115
- isEnabled() {
116
- return this._enabled;
117
- }
118
- isRendered() {
119
- return this._rendered;
120
- }
121
- isRunning() {
122
- return this._running;
123
- }
124
- enable() {
125
- this._enabled = true;
126
- for (const outAction of this._outActions) {
127
- if (outAction.actionType === ActionType.LocalEvent) {
128
- outAction.update_local_event(this.context);
129
- }
130
- }
131
- this.render();
132
- for (const child of this.children) {
133
- if (child.hasValidPlatform()) {
134
- child.enable();
135
- }
136
- }
137
- }
138
- disable() {
139
- if (!this._enabled) {
140
- return;
141
- }
142
- this._enabled = false;
143
- if (this._running) {
144
- this.context.error("You need to stop first");
145
- }
146
- if (this._rendered) {
147
- this.unrender();
148
- }
149
- for (const child of this.children) {
150
- child.disable();
151
- }
152
- }
153
- /**
154
- * Create the Object3D object.
155
- */
156
- render() {
157
- this._rendered = true;
158
- for (const component of this.components) {
159
- // This might set this.el
160
- component.render();
161
- component.rendered = true;
162
- }
163
- if (!this._nodeLink) {
164
- if (!this.hasEl() && !this.isAbstract()) {
165
- this.set_default_el();
166
- }
167
- if (this.hasEl()) {
168
- this.renderer.render(this);
169
- }
170
- }
171
- }
172
- /**
173
- * Destroys the node and its components, it will not remove the PNode.
174
- */
175
- unrender() {
176
- this._rendered = false;
177
- for (const component of this.components) {
178
- if (component.rendered) {
179
- component.unrender();
180
- component.rendered = false;
181
- }
182
- }
183
- // Components and child classes are in charge of destroying the Object3D
184
- if (this.hasEl()) {
185
- if (!this._nodeLink) {
186
- this.renderer.unrender(this);
187
- }
188
- this._el = null;
189
- }
190
- }
191
- dispose(recursive = true) {
192
- if (this._disposed)
193
- return;
194
- this._disposed = true;
195
- if (recursive) {
196
- for (const child of this.children) {
197
- child.dispose();
198
- }
199
- }
200
- for (const component of this.components) {
201
- component.dispose();
202
- }
203
- this.removeFromParent();
204
- }
205
- /**
206
- * Called when we have both an el and a transform
207
- */
208
- updateElTransform() {
209
- this.renderer.updateElTransform(this);
210
- }
211
- set_transform(transform) {
212
- this.transform = transform;
213
- if (this.hasEl()) {
214
- this.updateElTransform();
215
- }
216
- }
217
- set_default_el() {
218
- this.renderer.set_default_el(this);
219
- }
220
- /**
221
- * If nodeLink, this PNode is not in charge of adding and removing the node
222
- */
223
- set_el(node, nodeLink) {
224
- this._nodeLink = nodeLink;
225
- if (this.parent !== null && !this.parent.hasEl()) {
226
- this.context.error("No parent");
227
- console.log(this);
228
- return;
229
- }
230
- if (this.hasEl()) {
231
- this.context.error("PNode had .el");
232
- }
233
- this._el = node;
234
- if (this.transform !== null) {
235
- this.updateElTransform();
236
- }
237
- if (!nodeLink && this.parent !== null && this.parent.hasEl()) {
238
- this.renderer.addToParent(this);
239
- }
240
- }
241
- //
242
- // LAYERS & VISIBILITY
243
- //
244
- isVisible() {
245
- return (this._visible &&
246
- (this.layer & this.context.mask()) > 0 &&
247
- (this.parent === null || this.parent.isVisible()));
248
- }
249
- /**
250
- * Called by eg components when we want to change the visiblity of this node.
251
- */
252
- setVisible(value) {
253
- this._visible = value;
254
- this.update();
255
- }
256
- hide() {
257
- if (this.hasEl()) {
258
- this.renderer.hide(this);
259
- }
260
- this.collider?.getColliderObject()?.hide();
261
- }
262
- show() {
263
- if (this.hasEl()) {
264
- this.renderer.show(this);
265
- }
266
- if (this.collider) {
267
- this.collider.getColliderObject()?.show();
268
- }
269
- }
270
- /**
271
- * Update visiblity recursive
272
- */
273
- update() {
274
- if (this.isVisible()) {
275
- // Show
276
- this.show();
277
- }
278
- else {
279
- // Hide
280
- this.hide();
281
- }
282
- for (const child of this.children) {
283
- child.update();
284
- }
285
- }
286
- //
287
- // VARIABLES
288
- //
289
- //
290
- // EVENTS
291
- //
292
- /**
293
- * Called by component constructors
294
- */
295
- registerInAction(name, dbAction, callback, pinDataType = DataType.None) {
296
- // Check if we should skip action
297
- if (this.context.editor === false && !dbAction)
298
- return null;
299
- const actionType = dbAction ? dbAction.actionType : ActionType.None;
300
- const payloadSource = dbAction
301
- ? dbAction.payloadSource
302
- : PayloadSource.None;
303
- const pInEvent = new PInAction(this.id, name, pinDataType, actionType, dbAction ? dbAction.event : "", payloadSource, dbAction ? dbAction.payloadValue : "", dbAction ? dbAction.payloadDataType : DataType.None, callback);
304
- if (actionType === ActionType.GlobalEvent) {
305
- pInEvent.update_global_event(this.context);
306
- }
307
- else if (actionType === ActionType.Variable) {
308
- pInEvent.update_variable(this.context);
309
- }
310
- if (payloadSource === PayloadSource.Variable) {
311
- pInEvent.update_payload_variable(this.context);
312
- }
313
- this._inActions.push(pInEvent);
314
- return pInEvent;
315
- }
316
- registerInVariable(dbVariable, callback, pinDataType = DataType.None) {
317
- // Check if we should skip action
318
- if (this.context.editor === false && !dbVariable)
319
- return null;
320
- const pInAction = new PInAction(this.id, "", pinDataType, ActionType.Variable, dbVariable || "", PayloadSource.VariableValue, "", DataType.None, callback);
321
- var variable = pInAction.update_variable(this.context);
322
- if (variable !== null) {
323
- pInAction.payloadDataType = variable.dataType;
324
- }
325
- this._inActions.push(pInAction);
326
- return pInAction;
327
- }
328
- registerOutAction(dbAction, pinDataType = DataType.None) {
329
- // Check if we should skip action
330
- if (this.context.editor === false && !dbAction)
331
- return null;
332
- const actionType = dbAction ? dbAction.actionType : ActionType.None;
333
- const payloadSource = dbAction
334
- ? dbAction.payloadSource
335
- : PayloadSource.None;
336
- const pOutEvent = new POutAction(this.id, "", pinDataType, actionType, dbAction ? dbAction.event : "", dbAction ? dbAction.target : "", payloadSource, dbAction ? dbAction.payloadValue : "", dbAction ? dbAction.payloadDataType : DataType.None);
337
- if (actionType === ActionType.GlobalEvent) {
338
- pOutEvent.update_global_event(this.context);
339
- // } else if (actionType === ActionType.LocalEvent) {
340
- // pOutEvent.update_local_event(this.context);
341
- }
342
- else if (actionType === ActionType.Variable) {
343
- pOutEvent.update_variable(this.context);
344
- }
345
- if (payloadSource === PayloadSource.Variable) {
346
- pOutEvent.update_payload_variable(this.context);
347
- }
348
- this._outActions.push(pOutEvent);
349
- return pOutEvent;
350
- }
351
- registerOutVariable(dbVariable, pinDataType = DataType.None) {
352
- // Check if we should skip action
353
- if (this.context.editor === false && !dbVariable)
354
- return null;
355
- const pOutEvent = new POutAction(this.id, "", pinDataType, ActionType.Variable, dbVariable || "", "", PayloadSource.ActionOutput, "", DataType.None);
356
- var variable = pOutEvent.update_variable(this.context);
357
- if (variable) {
358
- pOutEvent.payloadDataType = variable.dataType;
359
- }
360
- this._outActions.push(pOutEvent);
361
- return pOutEvent;
362
- }
363
- getLocalInAction(name) {
364
- return (this._inActions.find((a) => a.actionType === ActionType.LocalEvent && a.eventValue === name) || null);
365
- }
366
- getLocalInEvents() {
367
- const actions = this._inActions
368
- .filter((a) => a.actionType === ActionType.LocalEvent && a.eventValue)
369
- .map((a) => a.eventValue);
370
- const result = [];
371
- for (const action of actions) {
372
- if (result.indexOf(action) === -1) {
373
- result.push(action);
374
- }
375
- }
376
- return result;
377
- }
378
- //
379
- // TOOLS
380
- //
381
- traverse(f, childrenFirst = false) {
382
- if (!childrenFirst) {
383
- f(this);
384
- }
385
- for (const child of this.children) {
386
- child.traverse(f);
387
- }
388
- if (childrenFirst) {
389
- f(this);
390
- }
391
- }
392
- //
393
- // PLATFORMS
394
- //
395
- hasValidPlatform() {
396
- return this.hasPlatform(this.context.platform(), this.context.language());
397
- }
398
- getPlatforms() {
399
- return this._platforms;
400
- }
401
- getLanguages() {
402
- return this._languages;
403
- }
404
- hasPlatform(platform, language) {
405
- return ((this._platforms === 0 || this._platforms & platform) &&
406
- (this._languages === 0 || this._languages & language));
407
- }
408
- setPlatforms(platforms) {
409
- this._platforms = platforms;
410
- }
411
- setLanguages(languages) {
412
- this._languages = languages;
413
- }
414
- //
415
- // CHILDREN
416
- //
417
- /**
418
- * Add a child node.
419
- */
420
- add(child) {
421
- this.children = [...this.children, child];
422
- child.parent = this;
423
- }
424
- /**
425
- * Remove this node reference in parent's children array.
426
- */
427
- removeFromParent() {
428
- if (this.parent !== null) {
429
- this.parent.children = this.parent.children.filter((c) => c !== this);
430
- this.parent = null;
431
- }
432
- }
433
- //
434
- // COMPONENTS
435
- //
436
- findComponent(type) {
437
- return this.components.find((c) => c.primitive === type) || null;
438
- }
439
- //
440
- // LIFE CYCLE
441
- //
442
- play() {
443
- if (!this.isEnabled()) {
444
- return;
445
- }
446
- this._running = true;
447
- // Handle in actions.
448
- for (const e of this._inActions) {
449
- // Listen to global events
450
- if (e.actionType === ActionType.GlobalEvent && e.runtime_global_event) {
451
- e.runtime_global_event.listen(e);
452
- }
453
- else if (e.actionType === ActionType.Variable && e.runtime_variable) {
454
- e.runtime_variable.listen(e);
455
- }
456
- }
457
- for (const component of this.components) {
458
- if (component.rendered)
459
- component.play();
460
- }
461
- for (const child of this.children) {
462
- child.play();
463
- }
464
- }
465
- stop() {
466
- if (!this.isEnabled()) {
467
- return;
468
- }
469
- this._running = false;
470
- for (const e of this._inActions) {
471
- // Unregister global event listeners
472
- if (e.actionType === ActionType.GlobalEvent && e.runtime_global_event) {
473
- e.runtime_global_event.unlisten(e);
474
- }
475
- else if (e.actionType === ActionType.Variable && e.runtime_variable) {
476
- e.runtime_variable.unlisten(e);
477
- }
478
- }
479
- for (const component of this.components) {
480
- if (component.rendered)
481
- component.stop();
482
- }
483
- for (const child of this.children) {
484
- child.stop();
485
- }
486
- }
487
- }
488
- //# sourceMappingURL=PNode.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PNode.js","sourceRoot":"","sources":["../../src/PNode.ts"],"names":[],"mappings":"AAKA,OAAO,EAIL,SAAS,EACT,UAAU,GACX,MAAM,WAAW,CAAC;AAGnB,OAAO,EACL,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,aAAa,EACb,QAAQ,EACR,WAAW,GACZ,MAAM,UAAU,CAAC;AAIlB,MAAM,CAAC,OAAO,OAAO,KAAK;IACxB,gBAAgB;IACN,QAAQ,GAAG,KAAK,CAAC;IACjB,SAAS,GAAG,KAAK,CAAC;IAClB,QAAQ,GAAG,KAAK,CAAC;IACjB,SAAS,GAAG,KAAK,CAAC;IAE5B,sCAAsC;IAC5B,QAAQ,GAAG,KAAK,CAAC;IAE3B,qCAAqC;IACrC,uCAAuC;IACvC,UAAU,GAAgB,EAAE,CAAC;IAC7B,WAAW,GAAiB,EAAE,CAAC;IAE/B,kBAAkB;IAClB,EAAE,CAAS;IACX,OAAO,CAAgB;IACvB,SAAS,CAAS;IAClB,WAAW,CAAgB;IAC3B,IAAI,CAAS;IACb,QAAQ,CAAgB;IACxB,OAAO,CAAU;IACjB,UAAU,CAAe;IACzB,KAAK,CAAS;IAEd,WAAW;IAEX,QAAQ,CAAiB;IAEzB,gBAAgB;IAChB,cAAc,CAAU;IAExB,iBAAiB;I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AAC,CAAC;YACjC,CAAC;QACH,CAAC;QAED,KAAK,MAAM,SAAS,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACxC,IAAI,SAAS,CAAC,QAAQ;gBAAE,SAAS,CAAC,IAAI,EAAE,CAAC;QAC3C,CAAC;QACD,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClC,KAAK,CAAC,IAAI,EAAE,CAAC;QACf,CAAC;IACH,CAAC;CACF"}
@@ -1,7 +0,0 @@
1
- export default class PPayload {
2
- static asNumber(value: string | null): number;
3
- static asBoolean(value: string | null): boolean;
4
- static fromNumber(value: number): string;
5
- static fromBoolean(value: boolean): string;
6
- }
7
- //# sourceMappingURL=PPayload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PPayload.d.ts","sourceRoot":"","sources":["../../src/PPayload.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,OAAO,QAAQ;IAC3B,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM;IAK7C,MAAM,CAAC,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,OAAO;IAK/C,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAIxC,MAAM,CAAC,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM;CAI3C"}
@@ -1,19 +0,0 @@
1
- export default class PPayload {
2
- static asNumber(value) {
3
- if (!value || value === "")
4
- return 0;
5
- return parseInt(value);
6
- }
7
- static asBoolean(value) {
8
- if (!value || value === "")
9
- return false;
10
- return value === "1";
11
- }
12
- static fromNumber(value) {
13
- return "" + value;
14
- }
15
- static fromBoolean(value) {
16
- return value ? "1" : "0";
17
- }
18
- }
19
- //# sourceMappingURL=PPayload.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PPayload.js","sourceRoot":"","sources":["../../src/PPayload.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,OAAO,QAAQ;IAC3B,MAAM,CAAC,QAAQ,CAAC,KAAoB;QAClC,IAAI,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE;YAAE,OAAO,CAAC,CAAC;QACrC,OAAO,QAAQ,CAAC,KAAK,CAAC,CAAC;IACzB,CAAC;IAED,MAAM,CAAC,SAAS,CAAC,KAAoB;QACnC,IAAI,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE;YAAE,OAAO,KAAK,CAAC;QACzC,OAAO,KAAK,KAAK,GAAG,CAAC;IACvB,CAAC;IAED,MAAM,CAAC,UAAU,CAAC,KAAa;QAC7B,OAAO,EAAE,GAAG,KAAK,CAAC;IACpB,CAAC;IAED,MAAM,CAAC,WAAW,CAAC,KAAc;QAC/B,OAAO,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC;IAC3B,CAAC;CAEF"}
@@ -1,140 +0,0 @@
1
- import { PostProcessingSystems } from "./PEnums";
2
- import PVector3, { type IVector3 } from "./PVector3";
3
- type IUpdate = (dt: number) => void;
4
- interface IUpdator {
5
- update: IUpdate;
6
- }
7
- export { type IUpdate, type IUpdator };
8
- interface IColliderObject {
9
- hide(): void;
10
- show(): void;
11
- }
12
- interface IColliderComponent {
13
- computeBounds(): void;
14
- addColliderNode(): void;
15
- native_onClick(): void;
16
- native_onHoverEnter(point: IVector3): void;
17
- native_onHoverExit(): void;
18
- getColliderObject(): IColliderObject | null;
19
- hidden: boolean;
20
- }
21
- export { type IColliderObject, type IColliderComponent };
22
- interface INameId {
23
- _id: string;
24
- name: string;
25
- }
26
- export { type INameId };
27
- interface IThreeQualitySettings {
28
- maxScale: number;
29
- minScale: number;
30
- sleep: boolean;
31
- adaptive: boolean;
32
- debug: boolean;
33
- skipFrame: boolean;
34
- baseQuality: number;
35
- }
36
- interface ICameraSettings {
37
- position: PVector3;
38
- target: PVector3;
39
- type: number;
40
- damping: number;
41
- }
42
- interface IThreeRendererSettings {
43
- near: number;
44
- far: number;
45
- useShadows: number;
46
- background: string;
47
- antialias: boolean;
48
- toneMapping: number;
49
- toneMappingExposure: number;
50
- depth: boolean;
51
- stencil: boolean;
52
- fov: number;
53
- }
54
- interface IBloomSettings {
55
- enabled: boolean;
56
- intensity: number;
57
- threshold: number;
58
- smoothing: number;
59
- radius: number;
60
- filter: boolean;
61
- }
62
- interface ISSAOSettings {
63
- enabled: boolean;
64
- debug: number;
65
- radius: number;
66
- minDistance: number;
67
- maxDistance: number;
68
- }
69
- interface ISAOSettings {
70
- enabled: boolean;
71
- debug: number;
72
- saoBias: number;
73
- saoIntensity: number;
74
- saoScale: number;
75
- saoKernelRadius: number;
76
- saoMinResolution: number;
77
- saoBlur: number;
78
- saoBlurRadius: number;
79
- saoBlurStdDev: number;
80
- saoBlurDepthCutoff: number;
81
- }
82
- interface IVignetteSettings {
83
- enabled: boolean;
84
- darkness: number;
85
- offset: number;
86
- }
87
- interface IDofSettings {
88
- enabled: boolean;
89
- focus: number;
90
- aperture: number;
91
- maxBlur: number;
92
- }
93
- interface IToneMapSettings {
94
- enabled: boolean;
95
- mode: number;
96
- exposure: number;
97
- }
98
- interface ISSRSettings {
99
- enabled: boolean;
100
- debug: number;
101
- maxScale: number;
102
- minScale: number;
103
- blur: number;
104
- thickness: number;
105
- maxDistance: number;
106
- opacity: number;
107
- distanceAttenuation: number;
108
- infiniteThick: number;
109
- ground: number;
110
- }
111
- interface ISMAASettings {
112
- enabled: boolean;
113
- }
114
- interface IThreePostProcessingSettings {
115
- enabled: PostProcessingSystems;
116
- samples: number;
117
- bloom: IBloomSettings;
118
- ssao: ISSAOSettings;
119
- sao: ISAOSettings;
120
- vignette: IVignetteSettings;
121
- dof: IDofSettings;
122
- tonemap: IToneMapSettings;
123
- ssr: ISSRSettings;
124
- smaa: ISMAASettings;
125
- }
126
- interface IPostProcessor {
127
- render: () => void;
128
- dispose: () => void;
129
- setSize(x: number, y: number): void;
130
- updateAASamples(samples: number): void;
131
- setPixelRatio(scale: number): void;
132
- addSSRSelectors(selectors: any[]): void;
133
- removeSSRSelectors(selectors: any[]): void;
134
- resize(x: number, y: number): void;
135
- resizeEffects(): void;
136
- setCurrentQuality(quality: number): boolean;
137
- updatePostProcessing(settings: IThreePostProcessingSettings, field: string): boolean;
138
- }
139
- export { type IThreeRendererSettings, type IThreePostProcessingSettings, type IBloomSettings, type IVignetteSettings, type IDofSettings, type IToneMapSettings, type IPostProcessor, type ISSAOSettings, type ISAOSettings, type IThreeQualitySettings, type ICameraSettings, };
140
- //# sourceMappingURL=PTypes.d.ts.map