@onerjs/core 8.27.2 → 8.27.3

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 (74) hide show
  1. package/Decorators/nodeDecorator.d.ts +7 -5
  2. package/Decorators/nodeDecorator.js +7 -5
  3. package/Decorators/nodeDecorator.js.map +1 -1
  4. package/FrameGraph/Node/Blocks/Layers/glowLayerBlock.js +1 -1
  5. package/FrameGraph/Node/Blocks/Layers/highlightLayerBlock.js +1 -1
  6. package/FrameGraph/Node/Blocks/PostProcesses/basePostProcessBlock.js +1 -1
  7. package/FrameGraph/Node/Blocks/PostProcesses/circleOfConfusionPostProcessBlock.js +1 -1
  8. package/FrameGraph/Node/Blocks/PostProcesses/depthOfFieldPostProcessBlock.js +2 -2
  9. package/FrameGraph/Node/Blocks/PostProcesses/imageProcessingPostProcessBlock.js +3 -3
  10. package/FrameGraph/Node/Blocks/PostProcesses/ssrPostProcessBlock.js +1 -1
  11. package/FrameGraph/Node/Blocks/Rendering/baseShadowGeneratorBlock.js +3 -3
  12. package/FrameGraph/Node/Blocks/Rendering/csmShadowGeneratorBlock.js +1 -1
  13. package/FrameGraph/Node/Blocks/Rendering/geometryRendererBlock.js +22 -22
  14. package/FrameGraph/Node/Blocks/Textures/clearBlock.js +1 -1
  15. package/FrameGraph/Node/Blocks/index.d.ts +1 -0
  16. package/FrameGraph/Node/Blocks/index.js +1 -0
  17. package/FrameGraph/Node/Blocks/index.js.map +1 -1
  18. package/FrameGraph/frameGraphTextureManager.d.ts +4 -0
  19. package/FrameGraph/frameGraphTextureManager.js +7 -1
  20. package/FrameGraph/frameGraphTextureManager.js.map +1 -1
  21. package/Materials/Node/Blocks/Fragment/fragmentOutputBlock.js +1 -1
  22. package/Materials/Node/Blocks/PBR/pbrMetallicRoughnessBlock.js +4 -4
  23. package/Materials/Node/Blocks/conditionalBlock.js +1 -1
  24. package/Materials/Node/Blocks/curveBlock.js +1 -1
  25. package/Materials/Node/Blocks/meshAttributeExistsBlock.js +1 -1
  26. package/Materials/Node/Blocks/trigonometryBlock.js +1 -1
  27. package/Materials/Node/Blocks/waveBlock.js +1 -1
  28. package/Materials/PBR/openPbrMaterial.d.ts +2 -0
  29. package/Materials/PBR/openPbrMaterial.js +2 -0
  30. package/Materials/PBR/openPbrMaterial.js.map +1 -1
  31. package/Materials/PBR/pbrBaseMaterial.d.ts +2 -0
  32. package/Materials/PBR/pbrBaseMaterial.js +2 -0
  33. package/Materials/PBR/pbrBaseMaterial.js.map +1 -1
  34. package/Materials/materialHelper.functions.js +1 -0
  35. package/Materials/materialHelper.functions.js.map +1 -1
  36. package/Materials/standardMaterial.d.ts +2 -0
  37. package/Materials/standardMaterial.js +2 -0
  38. package/Materials/standardMaterial.js.map +1 -1
  39. package/Meshes/Node/Blocks/Set/aggregatorBlock.js +1 -1
  40. package/Meshes/Node/Blocks/Set/setUVsBlock.js +1 -1
  41. package/Meshes/Node/Blocks/booleanGeometryBlock.js +1 -1
  42. package/Meshes/Node/Blocks/conditionBlock.js +1 -1
  43. package/Meshes/Node/Blocks/geometryCurveBlock.js +1 -1
  44. package/Meshes/Node/Blocks/geometryEaseBlock.js +1 -1
  45. package/Meshes/Node/Blocks/geometryTrigonometryBlock.js +1 -1
  46. package/Meshes/Node/Blocks/mappingBlock.js +1 -1
  47. package/Meshes/Node/Blocks/mathBlock.js +1 -1
  48. package/Meshes/Node/Blocks/randomBlock.js +1 -1
  49. package/Meshes/abstractMesh.d.ts +4 -0
  50. package/Meshes/abstractMesh.js +7 -0
  51. package/Meshes/abstractMesh.js.map +1 -1
  52. package/Particles/Node/Blocks/Conditions/particleConditionBlock.js +1 -1
  53. package/Particles/Node/Blocks/particleLocalVariableBlock.js +1 -1
  54. package/Particles/Node/Blocks/particleMathBlock.js +1 -1
  55. package/Particles/Node/Blocks/particleRandomBlock.js +1 -1
  56. package/Particles/Node/Blocks/particleTrigonometryBlock.js +1 -1
  57. package/Particles/Node/Blocks/systemBlock.js +1 -1
  58. package/Particles/gpuParticleSystem.js +1 -0
  59. package/Particles/gpuParticleSystem.js.map +1 -1
  60. package/Shaders/ShadersInclude/lightFragment.js +1 -1
  61. package/Shaders/ShadersInclude/lightFragment.js.map +1 -1
  62. package/ShadersWGSL/ShadersInclude/lightsFragmentFunctions.js +1 -1
  63. package/ShadersWGSL/ShadersInclude/lightsFragmentFunctions.js.map +1 -1
  64. package/ShadersWGSL/ShadersInclude/pbrDirectLightingFunctions.js +1 -1
  65. package/ShadersWGSL/ShadersInclude/pbrDirectLightingFunctions.js.map +1 -1
  66. package/ShadersWGSL/ShadersInclude/pbrFragmentExtraDeclaration.js +1 -1
  67. package/ShadersWGSL/ShadersInclude/pbrFragmentExtraDeclaration.js.map +1 -1
  68. package/ShadersWGSL/default.fragment.js +1 -1
  69. package/ShadersWGSL/default.fragment.js.map +1 -1
  70. package/ShadersWGSL/default.vertex.js +2 -2
  71. package/ShadersWGSL/default.vertex.js.map +1 -1
  72. package/ShadersWGSL/pbr.vertex.js +2 -2
  73. package/ShadersWGSL/pbr.vertex.js.map +1 -1
  74. package/package.json +1 -1
@@ -156,7 +156,7 @@ export class ParticleConditionBlock extends NodeParticleBlock {
156
156
  }
157
157
  }
158
158
  __decorate([
159
- editableInPropertyPage("Test", 4 /* PropertyTypeForEdition.List */, "ADVANCED", {
159
+ editableInPropertyPage("Test", 5 /* PropertyTypeForEdition.List */, "ADVANCED", {
160
160
  notifiers: { rebuild: true },
161
161
  embedded: true,
162
162
  options: [
@@ -95,7 +95,7 @@ export class ParticleLocalVariableBlock extends NodeParticleBlock {
95
95
  }
96
96
  }
97
97
  __decorate([
98
- editableInPropertyPage("Scope", 4 /* PropertyTypeForEdition.List */, "ADVANCED", {
98
+ editableInPropertyPage("Scope", 5 /* PropertyTypeForEdition.List */, "ADVANCED", {
99
99
  embedded: true,
100
100
  notifiers: { rebuild: true },
101
101
  options: [
@@ -304,7 +304,7 @@ export class ParticleMathBlock extends NodeParticleBlock {
304
304
  }
305
305
  }
306
306
  __decorate([
307
- editableInPropertyPage("Operation", 4 /* PropertyTypeForEdition.List */, "ADVANCED", {
307
+ editableInPropertyPage("Operation", 5 /* PropertyTypeForEdition.List */, "ADVANCED", {
308
308
  notifiers: { rebuild: true },
309
309
  embedded: true,
310
310
  options: [
@@ -147,7 +147,7 @@ export class ParticleRandomBlock extends NodeParticleBlock {
147
147
  }
148
148
  }
149
149
  __decorate([
150
- editableInPropertyPage("LockMode", 4 /* PropertyTypeForEdition.List */, "ADVANCED", {
150
+ editableInPropertyPage("LockMode", 5 /* PropertyTypeForEdition.List */, "ADVANCED", {
151
151
  notifiers: { rebuild: true },
152
152
  embedded: true,
153
153
  options: [
@@ -240,7 +240,7 @@ export class ParticleTrigonometryBlock extends NodeParticleBlock {
240
240
  }
241
241
  }
242
242
  __decorate([
243
- editableInPropertyPage("Operation", 4 /* PropertyTypeForEdition.List */, "ADVANCED", {
243
+ editableInPropertyPage("Operation", 5 /* PropertyTypeForEdition.List */, "ADVANCED", {
244
244
  embedded: true,
245
245
  notifiers: { rebuild: true },
246
246
  options: [
@@ -164,7 +164,7 @@ export class SystemBlock extends NodeParticleBlock {
164
164
  }
165
165
  SystemBlock._IdCounter = 0;
166
166
  __decorate([
167
- editableInPropertyPage("Blend mode", 4 /* PropertyTypeForEdition.List */, "ADVANCED", {
167
+ editableInPropertyPage("Blend mode", 5 /* PropertyTypeForEdition.List */, "ADVANCED", {
168
168
  notifiers: { rebuild: true },
169
169
  embedded: true,
170
170
  options: [
@@ -260,6 +260,7 @@ export class GPUParticleSystem extends BaseParticleSystem {
260
260
  }
261
261
  this._started = true;
262
262
  this._stopped = false;
263
+ this._actualFrame = 0;
263
264
  this._preWarmDone = false;
264
265
  // Animations
265
266
  if (this.beginAnimationOnStart && this.animations && this.animations.length > 0 && this._scene) {