@onerjs/core 8.27.1 → 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.
- package/Animations/runtimeAnimation.js +6 -1
- package/Animations/runtimeAnimation.js.map +1 -1
- package/Cameras/camera.d.ts +2 -2
- package/Cameras/camera.js +2 -2
- package/Cameras/camera.js.map +1 -1
- package/Decorators/nodeDecorator.d.ts +7 -5
- package/Decorators/nodeDecorator.js +7 -5
- package/Decorators/nodeDecorator.js.map +1 -1
- package/FrameGraph/Node/Blocks/Layers/glowLayerBlock.js +1 -1
- package/FrameGraph/Node/Blocks/Layers/highlightLayerBlock.js +1 -1
- package/FrameGraph/Node/Blocks/PostProcesses/basePostProcessBlock.js +1 -1
- package/FrameGraph/Node/Blocks/PostProcesses/circleOfConfusionPostProcessBlock.js +1 -1
- package/FrameGraph/Node/Blocks/PostProcesses/depthOfFieldPostProcessBlock.js +2 -2
- package/FrameGraph/Node/Blocks/PostProcesses/imageProcessingPostProcessBlock.js +3 -3
- package/FrameGraph/Node/Blocks/PostProcesses/ssrPostProcessBlock.js +1 -1
- package/FrameGraph/Node/Blocks/Rendering/baseObjectRendererBlock.d.ts +19 -2
- package/FrameGraph/Node/Blocks/Rendering/baseObjectRendererBlock.js +72 -4
- package/FrameGraph/Node/Blocks/Rendering/baseObjectRendererBlock.js.map +1 -1
- package/FrameGraph/Node/Blocks/Rendering/baseShadowGeneratorBlock.js +3 -3
- package/FrameGraph/Node/Blocks/Rendering/csmShadowGeneratorBlock.js +1 -1
- package/FrameGraph/Node/Blocks/Rendering/geometryRendererBlock.d.ts +8 -3
- package/FrameGraph/Node/Blocks/Rendering/geometryRendererBlock.js +56 -34
- package/FrameGraph/Node/Blocks/Rendering/geometryRendererBlock.js.map +1 -1
- package/FrameGraph/Node/Blocks/Rendering/objectRendererBlock.d.ts +0 -12
- package/FrameGraph/Node/Blocks/Rendering/objectRendererBlock.js +0 -45
- package/FrameGraph/Node/Blocks/Rendering/objectRendererBlock.js.map +1 -1
- package/FrameGraph/Node/Blocks/Rendering/taaObjectRendererBlock.d.ts +7 -3
- package/FrameGraph/Node/Blocks/Rendering/taaObjectRendererBlock.js +18 -32
- package/FrameGraph/Node/Blocks/Rendering/taaObjectRendererBlock.js.map +1 -1
- package/FrameGraph/Node/Blocks/Textures/clearBlock.js +1 -1
- package/FrameGraph/Node/Blocks/index.d.ts +1 -0
- package/FrameGraph/Node/Blocks/index.js +1 -0
- package/FrameGraph/Node/Blocks/index.js.map +1 -1
- package/FrameGraph/Node/nodeRenderGraph.js +2 -1
- package/FrameGraph/Node/nodeRenderGraph.js.map +1 -1
- package/FrameGraph/frameGraphTextureManager.d.ts +4 -0
- package/FrameGraph/frameGraphTextureManager.js +7 -1
- package/FrameGraph/frameGraphTextureManager.js.map +1 -1
- package/Layers/layerSceneComponent.js +3 -3
- package/Layers/layerSceneComponent.js.map +1 -1
- package/Lights/Clustered/clusteredLightContainer.d.ts +4 -1
- package/Lights/Clustered/clusteredLightContainer.js +17 -2
- package/Lights/Clustered/clusteredLightContainer.js.map +1 -1
- package/Lights/index.d.ts +1 -0
- package/Lights/index.js +1 -0
- package/Lights/index.js.map +1 -1
- package/Materials/Node/Blocks/Fragment/fragmentOutputBlock.js +1 -1
- package/Materials/Node/Blocks/PBR/pbrMetallicRoughnessBlock.js +4 -4
- package/Materials/Node/Blocks/conditionalBlock.js +1 -1
- package/Materials/Node/Blocks/curveBlock.js +1 -1
- package/Materials/Node/Blocks/meshAttributeExistsBlock.js +1 -1
- package/Materials/Node/Blocks/trigonometryBlock.js +1 -1
- package/Materials/Node/Blocks/waveBlock.js +1 -1
- package/Materials/PBR/openPbrMaterial.d.ts +2 -0
- package/Materials/PBR/openPbrMaterial.js +2 -0
- package/Materials/PBR/openPbrMaterial.js.map +1 -1
- package/Materials/PBR/pbrBaseMaterial.d.ts +2 -0
- package/Materials/PBR/pbrBaseMaterial.js +2 -0
- package/Materials/PBR/pbrBaseMaterial.js.map +1 -1
- package/Materials/Textures/renderTargetTexture.d.ts +2 -0
- package/Materials/Textures/renderTargetTexture.js +3 -0
- package/Materials/Textures/renderTargetTexture.js.map +1 -1
- package/Materials/materialHelper.functions.js +1 -0
- package/Materials/materialHelper.functions.js.map +1 -1
- package/Materials/standardMaterial.d.ts +2 -0
- package/Materials/standardMaterial.js +2 -0
- package/Materials/standardMaterial.js.map +1 -1
- package/Meshes/Node/Blocks/Set/aggregatorBlock.js +1 -1
- package/Meshes/Node/Blocks/Set/setUVsBlock.js +1 -1
- package/Meshes/Node/Blocks/booleanGeometryBlock.js +1 -1
- package/Meshes/Node/Blocks/conditionBlock.js +1 -1
- package/Meshes/Node/Blocks/geometryCurveBlock.js +1 -1
- package/Meshes/Node/Blocks/geometryEaseBlock.js +1 -1
- package/Meshes/Node/Blocks/geometryTrigonometryBlock.js +1 -1
- package/Meshes/Node/Blocks/mappingBlock.js +1 -1
- package/Meshes/Node/Blocks/mathBlock.js +1 -1
- package/Meshes/Node/Blocks/randomBlock.js +1 -1
- package/Meshes/abstractMesh.d.ts +4 -0
- package/Meshes/abstractMesh.js +7 -0
- package/Meshes/abstractMesh.js.map +1 -1
- package/Misc/index.d.ts +1 -0
- package/Misc/index.js +1 -0
- package/Misc/index.js.map +1 -1
- package/Navigation/INavigationEngine.d.ts +17 -5
- package/Navigation/INavigationEngine.js.map +1 -1
- package/Navigation/Plugins/recastJSPlugin.d.ts +3 -2
- package/Navigation/Plugins/recastJSPlugin.js.map +1 -1
- package/Particles/Node/Blocks/Conditions/particleConditionBlock.js +1 -1
- package/Particles/Node/Blocks/particleLocalVariableBlock.js +1 -1
- package/Particles/Node/Blocks/particleMathBlock.js +1 -1
- package/Particles/Node/Blocks/particleRandomBlock.js +1 -1
- package/Particles/Node/Blocks/particleTrigonometryBlock.js +1 -1
- package/Particles/Node/Blocks/systemBlock.js +1 -1
- package/Particles/gpuParticleSystem.js +1 -0
- package/Particles/gpuParticleSystem.js.map +1 -1
- package/PostProcesses/RenderPipeline/Pipelines/ssao2RenderingPipeline.d.ts +4 -0
- package/PostProcesses/RenderPipeline/Pipelines/ssao2RenderingPipeline.js +10 -1
- package/PostProcesses/RenderPipeline/Pipelines/ssao2RenderingPipeline.js.map +1 -1
- package/PostProcesses/motionBlurPostProcess.d.ts +3 -1
- package/PostProcesses/motionBlurPostProcess.js +13 -4
- package/PostProcesses/motionBlurPostProcess.js.map +1 -1
- package/Rendering/objectRenderer.d.ts +2 -0
- package/Rendering/objectRenderer.js +13 -0
- package/Rendering/objectRenderer.js.map +1 -1
- package/Shaders/ShadersInclude/lightFragment.js +1 -1
- package/Shaders/ShadersInclude/lightFragment.js.map +1 -1
- package/ShadersWGSL/ShadersInclude/lightsFragmentFunctions.js +1 -1
- package/ShadersWGSL/ShadersInclude/lightsFragmentFunctions.js.map +1 -1
- package/ShadersWGSL/ShadersInclude/pbrDirectLightingFunctions.js +1 -1
- package/ShadersWGSL/ShadersInclude/pbrDirectLightingFunctions.js.map +1 -1
- package/ShadersWGSL/ShadersInclude/pbrFragmentExtraDeclaration.js +1 -1
- package/ShadersWGSL/ShadersInclude/pbrFragmentExtraDeclaration.js.map +1 -1
- package/ShadersWGSL/default.fragment.js +1 -1
- package/ShadersWGSL/default.fragment.js.map +1 -1
- package/ShadersWGSL/default.vertex.js +2 -2
- package/ShadersWGSL/default.vertex.js.map +1 -1
- package/ShadersWGSL/pbr.vertex.js +2 -2
- package/ShadersWGSL/pbr.vertex.js.map +1 -1
- package/package.json +1 -1
|
@@ -194,7 +194,7 @@ export class AggregatorBlock extends NodeGeometryBlock {
|
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
__decorate([
|
|
197
|
-
editableInPropertyPage("Aggregation",
|
|
197
|
+
editableInPropertyPage("Aggregation", 5 /* PropertyTypeForEdition.List */, "ADVANCED", {
|
|
198
198
|
notifiers: { rebuild: true },
|
|
199
199
|
embedded: true,
|
|
200
200
|
options: [
|
|
@@ -161,7 +161,7 @@ __decorate([
|
|
|
161
161
|
editableInPropertyPage("Evaluate context", 0 /* PropertyTypeForEdition.Boolean */, "ADVANCED", { embedded: true, notifiers: { rebuild: true } })
|
|
162
162
|
], SetUVsBlock.prototype, "evaluateContext", void 0);
|
|
163
163
|
__decorate([
|
|
164
|
-
editableInPropertyPage("Texture coordinates index",
|
|
164
|
+
editableInPropertyPage("Texture coordinates index", 5 /* PropertyTypeForEdition.List */, "ADVANCED", {
|
|
165
165
|
notifiers: { update: true },
|
|
166
166
|
embedded: true,
|
|
167
167
|
options: [
|
|
@@ -181,7 +181,7 @@ __decorate([
|
|
|
181
181
|
editableInPropertyPage("Evaluate context", 0 /* PropertyTypeForEdition.Boolean */, "ADVANCED", { embedded: true, notifiers: { rebuild: true } })
|
|
182
182
|
], BooleanGeometryBlock.prototype, "evaluateContext", void 0);
|
|
183
183
|
__decorate([
|
|
184
|
-
editableInPropertyPage("Operation",
|
|
184
|
+
editableInPropertyPage("Operation", 5 /* PropertyTypeForEdition.List */, "ADVANCED", {
|
|
185
185
|
notifiers: { rebuild: true },
|
|
186
186
|
embedded: true,
|
|
187
187
|
options: [
|
|
@@ -181,7 +181,7 @@ export class ConditionBlock extends NodeGeometryBlock {
|
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
__decorate([
|
|
184
|
-
editableInPropertyPage("Test",
|
|
184
|
+
editableInPropertyPage("Test", 5 /* PropertyTypeForEdition.List */, "ADVANCED", {
|
|
185
185
|
notifiers: { rebuild: true },
|
|
186
186
|
embedded: true,
|
|
187
187
|
options: [
|
|
@@ -255,7 +255,7 @@ export class GeometryCurveBlock extends NodeGeometryBlock {
|
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
__decorate([
|
|
258
|
-
editableInPropertyPage("Type",
|
|
258
|
+
editableInPropertyPage("Type", 5 /* PropertyTypeForEdition.List */, "ADVANCED", {
|
|
259
259
|
notifiers: { rebuild: true },
|
|
260
260
|
embedded: true,
|
|
261
261
|
options: [
|
|
@@ -280,7 +280,7 @@ export class GeometryEaseBlock extends NodeGeometryBlock {
|
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
__decorate([
|
|
283
|
-
editableInPropertyPage("Type",
|
|
283
|
+
editableInPropertyPage("Type", 5 /* PropertyTypeForEdition.List */, "ADVANCED", {
|
|
284
284
|
notifiers: { rebuild: true },
|
|
285
285
|
embedded: true,
|
|
286
286
|
options: [
|
|
@@ -242,7 +242,7 @@ export class GeometryTrigonometryBlock extends NodeGeometryBlock {
|
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
244
|
__decorate([
|
|
245
|
-
editableInPropertyPage("Operation",
|
|
245
|
+
editableInPropertyPage("Operation", 5 /* PropertyTypeForEdition.List */, "ADVANCED", {
|
|
246
246
|
embedded: true,
|
|
247
247
|
notifiers: { rebuild: true },
|
|
248
248
|
options: [
|
|
@@ -147,7 +147,7 @@ export class MappingBlock extends NodeGeometryBlock {
|
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
__decorate([
|
|
150
|
-
editableInPropertyPage("Mapping",
|
|
150
|
+
editableInPropertyPage("Mapping", 5 /* PropertyTypeForEdition.List */, "ADVANCED", {
|
|
151
151
|
notifiers: { rebuild: true },
|
|
152
152
|
embedded: true,
|
|
153
153
|
options: [
|
|
@@ -298,7 +298,7 @@ export class MathBlock extends NodeGeometryBlock {
|
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
__decorate([
|
|
301
|
-
editableInPropertyPage("Operation",
|
|
301
|
+
editableInPropertyPage("Operation", 5 /* PropertyTypeForEdition.List */, "ADVANCED", {
|
|
302
302
|
notifiers: { rebuild: true },
|
|
303
303
|
embedded: true,
|
|
304
304
|
options: [
|
|
@@ -168,7 +168,7 @@ export class RandomBlock extends NodeGeometryBlock {
|
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
__decorate([
|
|
171
|
-
editableInPropertyPage("LockMode",
|
|
171
|
+
editableInPropertyPage("LockMode", 5 /* PropertyTypeForEdition.List */, "ADVANCED", {
|
|
172
172
|
notifiers: { rebuild: true },
|
|
173
173
|
embedded: true,
|
|
174
174
|
options: [
|
package/Meshes/abstractMesh.d.ts
CHANGED
|
@@ -326,6 +326,10 @@ export declare abstract class AbstractMesh extends TransformNode implements IDis
|
|
|
326
326
|
*/
|
|
327
327
|
get inheritVisibility(): boolean;
|
|
328
328
|
set inheritVisibility(value: boolean);
|
|
329
|
+
/**
|
|
330
|
+
* Control if the mesh is visible by system define
|
|
331
|
+
*/
|
|
332
|
+
_isSystemVisible: boolean;
|
|
329
333
|
private _isVisible;
|
|
330
334
|
/**
|
|
331
335
|
* Gets or sets a boolean indicating if the mesh is visible (renderable). Default is true
|
package/Meshes/abstractMesh.js
CHANGED
|
@@ -356,6 +356,9 @@ export class AbstractMesh extends TransformNode {
|
|
|
356
356
|
* Gets or sets a boolean indicating if the mesh is visible (renderable). Default is true
|
|
357
357
|
*/
|
|
358
358
|
get isVisible() {
|
|
359
|
+
if (!this._isSystemVisible) {
|
|
360
|
+
return false;
|
|
361
|
+
}
|
|
359
362
|
if (!this._isVisible || !this.inheritVisibility || !this._parentNode) {
|
|
360
363
|
return this._isVisible;
|
|
361
364
|
}
|
|
@@ -672,6 +675,10 @@ export class AbstractMesh extends TransformNode {
|
|
|
672
675
|
* @see https://doc.babylonjs.com/features/featuresDeepDive/materials/advanced/transparent_rendering#alpha-index
|
|
673
676
|
*/
|
|
674
677
|
this.alphaIndex = Number.MAX_VALUE;
|
|
678
|
+
/**
|
|
679
|
+
* Control if the mesh is visible by system define
|
|
680
|
+
*/
|
|
681
|
+
this._isSystemVisible = true;
|
|
675
682
|
this._isVisible = true;
|
|
676
683
|
/**
|
|
677
684
|
* Gets or sets a boolean indicating if the mesh can be picked (by scene.pick for instance or through actions). Default is true
|