@onerjs/core 8.28.1 → 8.28.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/Collisions/gpuPicker.d.ts +40 -16
- package/Collisions/gpuPicker.js +216 -95
- package/Collisions/gpuPicker.js.map +1 -1
- package/Decorators/nodeDecorator.d.ts +5 -1
- package/Decorators/nodeDecorator.js +4 -0
- package/Decorators/nodeDecorator.js.map +1 -1
- package/Engines/abstractEngine.js +2 -2
- package/Engines/abstractEngine.js.map +1 -1
- package/FrameGraph/Node/Blocks/PostProcesses/colorCorrectionPostProcessBlock.d.ts +30 -0
- package/FrameGraph/Node/Blocks/PostProcesses/colorCorrectionPostProcessBlock.js +56 -0
- package/FrameGraph/Node/Blocks/PostProcesses/colorCorrectionPostProcessBlock.js.map +1 -0
- package/FrameGraph/Node/Blocks/PostProcesses/filterPostProcessBlock.d.ts +32 -0
- package/FrameGraph/Node/Blocks/PostProcesses/filterPostProcessBlock.js +62 -0
- package/FrameGraph/Node/Blocks/PostProcesses/filterPostProcessBlock.js.map +1 -0
- package/FrameGraph/Node/Blocks/PostProcesses/tonemapPostProcessBlock.d.ts +36 -0
- package/FrameGraph/Node/Blocks/PostProcesses/tonemapPostProcessBlock.js +88 -0
- package/FrameGraph/Node/Blocks/PostProcesses/tonemapPostProcessBlock.js.map +1 -0
- package/FrameGraph/Node/Blocks/index.d.ts +3 -0
- package/FrameGraph/Node/Blocks/index.js +3 -0
- package/FrameGraph/Node/Blocks/index.js.map +1 -1
- package/FrameGraph/Tasks/PostProcesses/colorCorrectionTask.d.ts +17 -0
- package/FrameGraph/Tasks/PostProcesses/colorCorrectionTask.js +18 -0
- package/FrameGraph/Tasks/PostProcesses/colorCorrectionTask.js.map +1 -0
- package/FrameGraph/Tasks/PostProcesses/filterTask.d.ts +16 -0
- package/FrameGraph/Tasks/PostProcesses/filterTask.js +17 -0
- package/FrameGraph/Tasks/PostProcesses/filterTask.js.map +1 -0
- package/FrameGraph/Tasks/PostProcesses/tonemapTask.d.ts +16 -0
- package/FrameGraph/Tasks/PostProcesses/tonemapTask.js +17 -0
- package/FrameGraph/Tasks/PostProcesses/tonemapTask.js.map +1 -0
- package/FrameGraph/index.d.ts +3 -0
- package/FrameGraph/index.js +3 -0
- package/FrameGraph/index.js.map +1 -1
- package/Materials/effect.d.ts +1 -0
- package/Materials/effect.js +7 -1
- package/Materials/effect.js.map +1 -1
- package/Meshes/GaussianSplatting/gaussianSplattingMesh.js +11 -9
- package/Meshes/GaussianSplatting/gaussianSplattingMesh.js.map +1 -1
- package/Meshes/abstractMesh.d.ts +0 -20
- package/Meshes/abstractMesh.js +0 -44
- package/Meshes/abstractMesh.js.map +1 -1
- package/Physics/v2/physicsAggregate.js +4 -3
- package/Physics/v2/physicsAggregate.js.map +1 -1
- package/PostProcesses/colorCorrectionPostProcess.d.ts +3 -3
- package/PostProcesses/colorCorrectionPostProcess.js +21 -21
- package/PostProcesses/colorCorrectionPostProcess.js.map +1 -1
- package/PostProcesses/filterPostProcess.d.ts +4 -2
- package/PostProcesses/filterPostProcess.js +22 -15
- package/PostProcesses/filterPostProcess.js.map +1 -1
- package/PostProcesses/index.d.ts +3 -0
- package/PostProcesses/index.js +3 -0
- package/PostProcesses/index.js.map +1 -1
- package/PostProcesses/thinColorCorrectionPostProcess.d.ts +30 -0
- package/PostProcesses/thinColorCorrectionPostProcess.js +52 -0
- package/PostProcesses/thinColorCorrectionPostProcess.js.map +1 -0
- package/PostProcesses/thinFilterPostProcess.d.ts +29 -0
- package/PostProcesses/thinFilterPostProcess.js +51 -0
- package/PostProcesses/thinFilterPostProcess.js.map +1 -0
- package/PostProcesses/thinTonemapPostProcess.d.ts +52 -0
- package/PostProcesses/thinTonemapPostProcess.js +83 -0
- package/PostProcesses/thinTonemapPostProcess.js.map +1 -0
- package/PostProcesses/tonemapPostProcess.d.ts +23 -21
- package/PostProcesses/tonemapPostProcess.js +55 -46
- package/PostProcesses/tonemapPostProcess.js.map +1 -1
- package/Shaders/picking.fragment.js +20 -6
- package/Shaders/picking.fragment.js.map +1 -1
- package/Shaders/picking.vertex.js +4 -3
- package/Shaders/picking.vertex.js.map +1 -1
- package/ShadersWGSL/picking.fragment.js +11 -6
- package/ShadersWGSL/picking.fragment.js.map +1 -1
- package/ShadersWGSL/picking.vertex.js +4 -3
- package/ShadersWGSL/picking.vertex.js.map +1 -1
- package/node.d.ts +16 -0
- package/node.js +32 -0
- package/node.js.map +1 -1
- package/package.json +1 -1
- package/scene.d.ts +1 -1
- package/scene.js +2 -2
- package/scene.js.map +1 -1
package/Meshes/abstractMesh.js
CHANGED
|
@@ -151,11 +151,6 @@ class _InternalAbstractMeshDataInfo {
|
|
|
151
151
|
* We use that as a clue to force the material to sideOrientation = null
|
|
152
152
|
*/
|
|
153
153
|
this._sideOrientationHint = false;
|
|
154
|
-
/**
|
|
155
|
-
* @internal
|
|
156
|
-
* if this is set to true, the mesh will be visible only if its parent(s) are also visible
|
|
157
|
-
*/
|
|
158
|
-
this._inheritVisibility = false;
|
|
159
154
|
/**
|
|
160
155
|
* Used in frame graph mode only, to know which meshes to update when in frozen mode
|
|
161
156
|
*/
|
|
@@ -343,40 +338,6 @@ export class AbstractMesh extends TransformNode {
|
|
|
343
338
|
});
|
|
344
339
|
}
|
|
345
340
|
}
|
|
346
|
-
/**
|
|
347
|
-
* If set to true, a mesh will only be visible only if its parent(s) are also visible (default is false)
|
|
348
|
-
*/
|
|
349
|
-
get inheritVisibility() {
|
|
350
|
-
return this._internalAbstractMeshDataInfo._inheritVisibility;
|
|
351
|
-
}
|
|
352
|
-
set inheritVisibility(value) {
|
|
353
|
-
this._internalAbstractMeshDataInfo._inheritVisibility = value;
|
|
354
|
-
}
|
|
355
|
-
/**
|
|
356
|
-
* Gets or sets a boolean indicating if the mesh is visible (renderable). Default is true
|
|
357
|
-
*/
|
|
358
|
-
get isVisible() {
|
|
359
|
-
if (!this._isSystemVisible) {
|
|
360
|
-
return false;
|
|
361
|
-
}
|
|
362
|
-
if (!this._isVisible || !this.inheritVisibility || !this._parentNode) {
|
|
363
|
-
return this._isVisible;
|
|
364
|
-
}
|
|
365
|
-
if (this._isVisible) {
|
|
366
|
-
let parent = this._parentNode;
|
|
367
|
-
while (parent) {
|
|
368
|
-
const parentVisible = parent.isVisible;
|
|
369
|
-
if (typeof parentVisible !== "undefined") {
|
|
370
|
-
return parentVisible;
|
|
371
|
-
}
|
|
372
|
-
parent = parent.parent;
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
return this._isVisible;
|
|
376
|
-
}
|
|
377
|
-
set isVisible(value) {
|
|
378
|
-
this._isVisible = value;
|
|
379
|
-
}
|
|
380
341
|
/**
|
|
381
342
|
* Gets or sets the property which disables the test that is checking that the mesh under the pointer is the same than the previous time we tested for it (default: false).
|
|
382
343
|
* Set this property to true if you want thin instances picking to be reported accurately when moving over the mesh.
|
|
@@ -675,11 +636,6 @@ export class AbstractMesh extends TransformNode {
|
|
|
675
636
|
* @see https://doc.babylonjs.com/features/featuresDeepDive/materials/advanced/transparent_rendering#alpha-index
|
|
676
637
|
*/
|
|
677
638
|
this.alphaIndex = Number.MAX_VALUE;
|
|
678
|
-
/**
|
|
679
|
-
* Control if the mesh is visible by system define
|
|
680
|
-
*/
|
|
681
|
-
this._isSystemVisible = true;
|
|
682
|
-
this._isVisible = true;
|
|
683
639
|
/**
|
|
684
640
|
* Gets or sets a boolean indicating if the mesh can be picked (by scene.pick for instance or through actions). Default is true
|
|
685
641
|
*/
|