@pacem/pacem-3d 2.0.0-babbage → 2.0.0-chebyshev
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/dist/browser/pacem-3d.js +759 -68
- package/dist/browser/pacem-3d.js.map +1 -1
- package/dist/browser/pacem-3d.min.js +2 -2
- package/dist/bundle/pacem-3d.min.mjs +105 -51
- package/dist/bundle/pacem-3d.mjs +825 -222
- package/dist/bundle/pacem-3d.mjs.map +4 -4
- package/dist/docs/pacem-3d.json +650 -8
- package/dist/esm/constants.js +1 -1
- package/dist/esm/converters.js +1 -1
- package/dist/esm/decorators.js +1 -1
- package/dist/esm/detector.js +1 -1
- package/dist/esm/geometry.js +1 -1
- package/dist/esm/index-components-drawing3d.js +1 -1
- package/dist/esm/index-components.js +1 -1
- package/dist/esm/index-drawing3d.js +1 -1
- package/dist/esm/index-iife.js +1 -1
- package/dist/esm/index-root.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/stage.js +1 -1
- package/dist/esm/types.js +38 -1
- package/package.json +1 -1
- package/typings/index.d.ts +29 -1
package/dist/docs/pacem-3d.json
CHANGED
|
@@ -3293,6 +3293,33 @@
|
|
|
3293
3293
|
"endIndex": 2
|
|
3294
3294
|
}
|
|
3295
3295
|
},
|
|
3296
|
+
{
|
|
3297
|
+
"kind": "PropertySignature",
|
|
3298
|
+
"canonicalReference": "@pacem/pacem-3d!Components.Drawing3D.Light#castShadow:member",
|
|
3299
|
+
"docComment": "/**\n * Whether the light casts shadows (directional and omni lights).\n */\n",
|
|
3300
|
+
"excerptTokens": [
|
|
3301
|
+
{
|
|
3302
|
+
"kind": "Content",
|
|
3303
|
+
"text": "castShadow?: "
|
|
3304
|
+
},
|
|
3305
|
+
{
|
|
3306
|
+
"kind": "Content",
|
|
3307
|
+
"text": "boolean"
|
|
3308
|
+
},
|
|
3309
|
+
{
|
|
3310
|
+
"kind": "Content",
|
|
3311
|
+
"text": ";"
|
|
3312
|
+
}
|
|
3313
|
+
],
|
|
3314
|
+
"isReadonly": false,
|
|
3315
|
+
"isOptional": true,
|
|
3316
|
+
"releaseTag": "Public",
|
|
3317
|
+
"name": "castShadow",
|
|
3318
|
+
"propertyTypeTokenRange": {
|
|
3319
|
+
"startIndex": 1,
|
|
3320
|
+
"endIndex": 2
|
|
3321
|
+
}
|
|
3322
|
+
},
|
|
3296
3323
|
{
|
|
3297
3324
|
"kind": "PropertySignature",
|
|
3298
3325
|
"canonicalReference": "@pacem/pacem-3d!Components.Drawing3D.Light#color:member",
|
|
@@ -3347,6 +3374,60 @@
|
|
|
3347
3374
|
"endIndex": 2
|
|
3348
3375
|
}
|
|
3349
3376
|
},
|
|
3377
|
+
{
|
|
3378
|
+
"kind": "PropertySignature",
|
|
3379
|
+
"canonicalReference": "@pacem/pacem-3d!Components.Drawing3D.Light#shadowBias:member",
|
|
3380
|
+
"docComment": "/**\n * Normal offset applied to the receivers before testing them against the shadow map, as a fraction of the shadow frustum radius: fights shadow acne.\n */\n",
|
|
3381
|
+
"excerptTokens": [
|
|
3382
|
+
{
|
|
3383
|
+
"kind": "Content",
|
|
3384
|
+
"text": "shadowBias?: "
|
|
3385
|
+
},
|
|
3386
|
+
{
|
|
3387
|
+
"kind": "Content",
|
|
3388
|
+
"text": "number"
|
|
3389
|
+
},
|
|
3390
|
+
{
|
|
3391
|
+
"kind": "Content",
|
|
3392
|
+
"text": ";"
|
|
3393
|
+
}
|
|
3394
|
+
],
|
|
3395
|
+
"isReadonly": false,
|
|
3396
|
+
"isOptional": true,
|
|
3397
|
+
"releaseTag": "Public",
|
|
3398
|
+
"name": "shadowBias",
|
|
3399
|
+
"propertyTypeTokenRange": {
|
|
3400
|
+
"startIndex": 1,
|
|
3401
|
+
"endIndex": 2
|
|
3402
|
+
}
|
|
3403
|
+
},
|
|
3404
|
+
{
|
|
3405
|
+
"kind": "PropertySignature",
|
|
3406
|
+
"canonicalReference": "@pacem/pacem-3d!Components.Drawing3D.Light#shadowMapSize:member",
|
|
3407
|
+
"docComment": "/**\n * Side, in texels, of the light's shadow map.\n */\n",
|
|
3408
|
+
"excerptTokens": [
|
|
3409
|
+
{
|
|
3410
|
+
"kind": "Content",
|
|
3411
|
+
"text": "shadowMapSize?: "
|
|
3412
|
+
},
|
|
3413
|
+
{
|
|
3414
|
+
"kind": "Content",
|
|
3415
|
+
"text": "number"
|
|
3416
|
+
},
|
|
3417
|
+
{
|
|
3418
|
+
"kind": "Content",
|
|
3419
|
+
"text": ";"
|
|
3420
|
+
}
|
|
3421
|
+
],
|
|
3422
|
+
"isReadonly": false,
|
|
3423
|
+
"isOptional": true,
|
|
3424
|
+
"releaseTag": "Public",
|
|
3425
|
+
"name": "shadowMapSize",
|
|
3426
|
+
"propertyTypeTokenRange": {
|
|
3427
|
+
"startIndex": 1,
|
|
3428
|
+
"endIndex": 2
|
|
3429
|
+
}
|
|
3430
|
+
},
|
|
3350
3431
|
{
|
|
3351
3432
|
"kind": "PropertySignature",
|
|
3352
3433
|
"canonicalReference": "@pacem/pacem-3d!Components.Drawing3D.Light#target:member",
|
|
@@ -4722,6 +4803,33 @@
|
|
|
4722
4803
|
"endIndex": 2
|
|
4723
4804
|
}
|
|
4724
4805
|
},
|
|
4806
|
+
{
|
|
4807
|
+
"kind": "PropertySignature",
|
|
4808
|
+
"canonicalReference": "@pacem/pacem-3d!Components.Drawing3D.Mesh#castShadow:member",
|
|
4809
|
+
"docComment": "/**\n * Gets or sets whether the mesh occludes shadow-casting lights (defaults to `true`).\n */\n",
|
|
4810
|
+
"excerptTokens": [
|
|
4811
|
+
{
|
|
4812
|
+
"kind": "Content",
|
|
4813
|
+
"text": "castShadow?: "
|
|
4814
|
+
},
|
|
4815
|
+
{
|
|
4816
|
+
"kind": "Content",
|
|
4817
|
+
"text": "boolean"
|
|
4818
|
+
},
|
|
4819
|
+
{
|
|
4820
|
+
"kind": "Content",
|
|
4821
|
+
"text": ";"
|
|
4822
|
+
}
|
|
4823
|
+
],
|
|
4824
|
+
"isReadonly": false,
|
|
4825
|
+
"isOptional": true,
|
|
4826
|
+
"releaseTag": "Public",
|
|
4827
|
+
"name": "castShadow",
|
|
4828
|
+
"propertyTypeTokenRange": {
|
|
4829
|
+
"startIndex": 1,
|
|
4830
|
+
"endIndex": 2
|
|
4831
|
+
}
|
|
4832
|
+
},
|
|
4725
4833
|
{
|
|
4726
4834
|
"kind": "PropertySignature",
|
|
4727
4835
|
"canonicalReference": "@pacem/pacem-3d!Components.Drawing3D.Mesh#geometry:member",
|
|
@@ -4777,6 +4885,33 @@
|
|
|
4777
4885
|
"startIndex": 1,
|
|
4778
4886
|
"endIndex": 2
|
|
4779
4887
|
}
|
|
4888
|
+
},
|
|
4889
|
+
{
|
|
4890
|
+
"kind": "PropertySignature",
|
|
4891
|
+
"canonicalReference": "@pacem/pacem-3d!Components.Drawing3D.Mesh#receiveShadow:member",
|
|
4892
|
+
"docComment": "/**\n * Gets or sets whether the mesh gets darkened by the shadows of the other meshes (defaults to `true`).\n */\n",
|
|
4893
|
+
"excerptTokens": [
|
|
4894
|
+
{
|
|
4895
|
+
"kind": "Content",
|
|
4896
|
+
"text": "receiveShadow?: "
|
|
4897
|
+
},
|
|
4898
|
+
{
|
|
4899
|
+
"kind": "Content",
|
|
4900
|
+
"text": "boolean"
|
|
4901
|
+
},
|
|
4902
|
+
{
|
|
4903
|
+
"kind": "Content",
|
|
4904
|
+
"text": ";"
|
|
4905
|
+
}
|
|
4906
|
+
],
|
|
4907
|
+
"isReadonly": false,
|
|
4908
|
+
"isOptional": true,
|
|
4909
|
+
"releaseTag": "Public",
|
|
4910
|
+
"name": "receiveShadow",
|
|
4911
|
+
"propertyTypeTokenRange": {
|
|
4912
|
+
"startIndex": 1,
|
|
4913
|
+
"endIndex": 2
|
|
4914
|
+
}
|
|
4780
4915
|
}
|
|
4781
4916
|
],
|
|
4782
4917
|
"extendsTokenRanges": [
|
|
@@ -7387,6 +7522,36 @@
|
|
|
7387
7522
|
"name": "Pacem3DLightElement",
|
|
7388
7523
|
"preserveMemberOrder": false,
|
|
7389
7524
|
"members": [
|
|
7525
|
+
{
|
|
7526
|
+
"kind": "Property",
|
|
7527
|
+
"canonicalReference": "@pacem/pacem-3d!Components.Drawing3D.Pacem3DLightElement#castShadow:member",
|
|
7528
|
+
"docComment": "/**\n * Gets or sets whether the light casts shadows (directional and omni lights, WebGPU adapter).\n */\n",
|
|
7529
|
+
"excerptTokens": [
|
|
7530
|
+
{
|
|
7531
|
+
"kind": "Content",
|
|
7532
|
+
"text": "castShadow: "
|
|
7533
|
+
},
|
|
7534
|
+
{
|
|
7535
|
+
"kind": "Content",
|
|
7536
|
+
"text": "boolean"
|
|
7537
|
+
},
|
|
7538
|
+
{
|
|
7539
|
+
"kind": "Content",
|
|
7540
|
+
"text": ";"
|
|
7541
|
+
}
|
|
7542
|
+
],
|
|
7543
|
+
"isReadonly": false,
|
|
7544
|
+
"isOptional": false,
|
|
7545
|
+
"releaseTag": "Public",
|
|
7546
|
+
"name": "castShadow",
|
|
7547
|
+
"propertyTypeTokenRange": {
|
|
7548
|
+
"startIndex": 1,
|
|
7549
|
+
"endIndex": 2
|
|
7550
|
+
},
|
|
7551
|
+
"isStatic": false,
|
|
7552
|
+
"isProtected": false,
|
|
7553
|
+
"isAbstract": false
|
|
7554
|
+
},
|
|
7390
7555
|
{
|
|
7391
7556
|
"kind": "Property",
|
|
7392
7557
|
"canonicalReference": "@pacem/pacem-3d!Components.Drawing3D.Pacem3DLightElement#color:member",
|
|
@@ -7543,6 +7708,66 @@
|
|
|
7543
7708
|
"isAbstract": false,
|
|
7544
7709
|
"name": "propertyChangedCallback"
|
|
7545
7710
|
},
|
|
7711
|
+
{
|
|
7712
|
+
"kind": "Property",
|
|
7713
|
+
"canonicalReference": "@pacem/pacem-3d!Components.Drawing3D.Pacem3DLightElement#shadowBias:member",
|
|
7714
|
+
"docComment": "/**\n * Gets or sets the normal offset applied to the shadow receivers, as a fraction of the shadow frustum radius: raise it against shadow acne, lower it against detached shadows.\n */\n",
|
|
7715
|
+
"excerptTokens": [
|
|
7716
|
+
{
|
|
7717
|
+
"kind": "Content",
|
|
7718
|
+
"text": "shadowBias: "
|
|
7719
|
+
},
|
|
7720
|
+
{
|
|
7721
|
+
"kind": "Content",
|
|
7722
|
+
"text": "number"
|
|
7723
|
+
},
|
|
7724
|
+
{
|
|
7725
|
+
"kind": "Content",
|
|
7726
|
+
"text": ";"
|
|
7727
|
+
}
|
|
7728
|
+
],
|
|
7729
|
+
"isReadonly": false,
|
|
7730
|
+
"isOptional": false,
|
|
7731
|
+
"releaseTag": "Public",
|
|
7732
|
+
"name": "shadowBias",
|
|
7733
|
+
"propertyTypeTokenRange": {
|
|
7734
|
+
"startIndex": 1,
|
|
7735
|
+
"endIndex": 2
|
|
7736
|
+
},
|
|
7737
|
+
"isStatic": false,
|
|
7738
|
+
"isProtected": false,
|
|
7739
|
+
"isAbstract": false
|
|
7740
|
+
},
|
|
7741
|
+
{
|
|
7742
|
+
"kind": "Property",
|
|
7743
|
+
"canonicalReference": "@pacem/pacem-3d!Components.Drawing3D.Pacem3DLightElement#shadowMapSize:member",
|
|
7744
|
+
"docComment": "/**\n * Gets or sets the side, in texels, of the light's shadow map.\n */\n",
|
|
7745
|
+
"excerptTokens": [
|
|
7746
|
+
{
|
|
7747
|
+
"kind": "Content",
|
|
7748
|
+
"text": "shadowMapSize: "
|
|
7749
|
+
},
|
|
7750
|
+
{
|
|
7751
|
+
"kind": "Content",
|
|
7752
|
+
"text": "number"
|
|
7753
|
+
},
|
|
7754
|
+
{
|
|
7755
|
+
"kind": "Content",
|
|
7756
|
+
"text": ";"
|
|
7757
|
+
}
|
|
7758
|
+
],
|
|
7759
|
+
"isReadonly": false,
|
|
7760
|
+
"isOptional": false,
|
|
7761
|
+
"releaseTag": "Public",
|
|
7762
|
+
"name": "shadowMapSize",
|
|
7763
|
+
"propertyTypeTokenRange": {
|
|
7764
|
+
"startIndex": 1,
|
|
7765
|
+
"endIndex": 2
|
|
7766
|
+
},
|
|
7767
|
+
"isStatic": false,
|
|
7768
|
+
"isProtected": false,
|
|
7769
|
+
"isAbstract": false
|
|
7770
|
+
},
|
|
7546
7771
|
{
|
|
7547
7772
|
"kind": "Property",
|
|
7548
7773
|
"canonicalReference": "@pacem/pacem-3d!Components.Drawing3D.Pacem3DLightElement#target:member",
|
|
@@ -7681,6 +7906,36 @@
|
|
|
7681
7906
|
"isProtected": false,
|
|
7682
7907
|
"isAbstract": false
|
|
7683
7908
|
},
|
|
7909
|
+
{
|
|
7910
|
+
"kind": "Property",
|
|
7911
|
+
"canonicalReference": "@pacem/pacem-3d!Components.Drawing3D.Pacem3DMeshElement#castShadow:member",
|
|
7912
|
+
"docComment": "/**\n * Gets or sets whether the mesh occludes shadow-casting lights.\n */\n",
|
|
7913
|
+
"excerptTokens": [
|
|
7914
|
+
{
|
|
7915
|
+
"kind": "Content",
|
|
7916
|
+
"text": "castShadow: "
|
|
7917
|
+
},
|
|
7918
|
+
{
|
|
7919
|
+
"kind": "Content",
|
|
7920
|
+
"text": "boolean"
|
|
7921
|
+
},
|
|
7922
|
+
{
|
|
7923
|
+
"kind": "Content",
|
|
7924
|
+
"text": ";"
|
|
7925
|
+
}
|
|
7926
|
+
],
|
|
7927
|
+
"isReadonly": false,
|
|
7928
|
+
"isOptional": false,
|
|
7929
|
+
"releaseTag": "Public",
|
|
7930
|
+
"name": "castShadow",
|
|
7931
|
+
"propertyTypeTokenRange": {
|
|
7932
|
+
"startIndex": 1,
|
|
7933
|
+
"endIndex": 2
|
|
7934
|
+
},
|
|
7935
|
+
"isStatic": false,
|
|
7936
|
+
"isProtected": false,
|
|
7937
|
+
"isAbstract": false
|
|
7938
|
+
},
|
|
7684
7939
|
{
|
|
7685
7940
|
"kind": "Property",
|
|
7686
7941
|
"canonicalReference": "@pacem/pacem-3d!Components.Drawing3D.Pacem3DMeshElement#geometry:member",
|
|
@@ -7838,6 +8093,36 @@
|
|
|
7838
8093
|
"isOptional": false,
|
|
7839
8094
|
"isAbstract": false,
|
|
7840
8095
|
"name": "propertyChangedCallback"
|
|
8096
|
+
},
|
|
8097
|
+
{
|
|
8098
|
+
"kind": "Property",
|
|
8099
|
+
"canonicalReference": "@pacem/pacem-3d!Components.Drawing3D.Pacem3DMeshElement#receiveShadow:member",
|
|
8100
|
+
"docComment": "/**\n * Gets or sets whether the mesh gets darkened by the shadows of the other meshes.\n */\n",
|
|
8101
|
+
"excerptTokens": [
|
|
8102
|
+
{
|
|
8103
|
+
"kind": "Content",
|
|
8104
|
+
"text": "receiveShadow: "
|
|
8105
|
+
},
|
|
8106
|
+
{
|
|
8107
|
+
"kind": "Content",
|
|
8108
|
+
"text": "boolean"
|
|
8109
|
+
},
|
|
8110
|
+
{
|
|
8111
|
+
"kind": "Content",
|
|
8112
|
+
"text": ";"
|
|
8113
|
+
}
|
|
8114
|
+
],
|
|
8115
|
+
"isReadonly": false,
|
|
8116
|
+
"isOptional": false,
|
|
8117
|
+
"releaseTag": "Public",
|
|
8118
|
+
"name": "receiveShadow",
|
|
8119
|
+
"propertyTypeTokenRange": {
|
|
8120
|
+
"startIndex": 1,
|
|
8121
|
+
"endIndex": 2
|
|
8122
|
+
},
|
|
8123
|
+
"isStatic": false,
|
|
8124
|
+
"isProtected": false,
|
|
8125
|
+
"isAbstract": false
|
|
7841
8126
|
}
|
|
7842
8127
|
],
|
|
7843
8128
|
"extendsTokenRange": {
|
|
@@ -10627,22 +10912,52 @@
|
|
|
10627
10912
|
"name": "render"
|
|
10628
10913
|
},
|
|
10629
10914
|
{
|
|
10630
|
-
"kind": "
|
|
10631
|
-
"canonicalReference": "@pacem/pacem-3d!Components.Drawing3D.Pacem3DWebgpuAdapterElement#
|
|
10632
|
-
"docComment": "",
|
|
10915
|
+
"kind": "Property",
|
|
10916
|
+
"canonicalReference": "@pacem/pacem-3d!Components.Drawing3D.Pacem3DWebgpuAdapterElement#reversedZ:member",
|
|
10917
|
+
"docComment": "/**\n * Gets or sets whether the depth buffer is reversed (near → 1, far → 0) and floating point: depth precision gets spread evenly over distance, reducing z-fighting on deep scenes and tiny `near` planes. Off by default. Reassigning it reinitializes the renderer(s).\n */\n",
|
|
10633
10918
|
"excerptTokens": [
|
|
10634
10919
|
{
|
|
10635
10920
|
"kind": "Content",
|
|
10636
|
-
"text": "
|
|
10921
|
+
"text": "reversedZ: "
|
|
10637
10922
|
},
|
|
10638
10923
|
{
|
|
10639
|
-
"kind": "
|
|
10640
|
-
"text": "
|
|
10641
|
-
"canonicalReference": "@pacem/pacem-3d!Components.Drawing3D_2.Pacem3DElement:class"
|
|
10924
|
+
"kind": "Content",
|
|
10925
|
+
"text": "boolean"
|
|
10642
10926
|
},
|
|
10643
10927
|
{
|
|
10644
10928
|
"kind": "Content",
|
|
10645
|
-
"text": "
|
|
10929
|
+
"text": ";"
|
|
10930
|
+
}
|
|
10931
|
+
],
|
|
10932
|
+
"isReadonly": false,
|
|
10933
|
+
"isOptional": false,
|
|
10934
|
+
"releaseTag": "Public",
|
|
10935
|
+
"name": "reversedZ",
|
|
10936
|
+
"propertyTypeTokenRange": {
|
|
10937
|
+
"startIndex": 1,
|
|
10938
|
+
"endIndex": 2
|
|
10939
|
+
},
|
|
10940
|
+
"isStatic": false,
|
|
10941
|
+
"isProtected": false,
|
|
10942
|
+
"isAbstract": false
|
|
10943
|
+
},
|
|
10944
|
+
{
|
|
10945
|
+
"kind": "Method",
|
|
10946
|
+
"canonicalReference": "@pacem/pacem-3d!Components.Drawing3D.Pacem3DWebgpuAdapterElement#snapshot:member(1)",
|
|
10947
|
+
"docComment": "",
|
|
10948
|
+
"excerptTokens": [
|
|
10949
|
+
{
|
|
10950
|
+
"kind": "Content",
|
|
10951
|
+
"text": "snapshot(scene: "
|
|
10952
|
+
},
|
|
10953
|
+
{
|
|
10954
|
+
"kind": "Reference",
|
|
10955
|
+
"text": "Pacem3DElement",
|
|
10956
|
+
"canonicalReference": "@pacem/pacem-3d!Components.Drawing3D_2.Pacem3DElement:class"
|
|
10957
|
+
},
|
|
10958
|
+
{
|
|
10959
|
+
"kind": "Content",
|
|
10960
|
+
"text": ", background?: "
|
|
10646
10961
|
},
|
|
10647
10962
|
{
|
|
10648
10963
|
"kind": "Content",
|
|
@@ -17468,6 +17783,27 @@
|
|
|
17468
17783
|
"releaseTag": "Public",
|
|
17469
17784
|
"name": "Position"
|
|
17470
17785
|
},
|
|
17786
|
+
{
|
|
17787
|
+
"kind": "EnumMember",
|
|
17788
|
+
"canonicalReference": "@pacem/pacem-3d!Components.Drawing3D.StalePropertyFlag.Shadow:member",
|
|
17789
|
+
"docComment": "/**\n * The mesh's {@link Mesh.castShadow}/{@link Mesh.receiveShadow} changed.\n */\n",
|
|
17790
|
+
"excerptTokens": [
|
|
17791
|
+
{
|
|
17792
|
+
"kind": "Content",
|
|
17793
|
+
"text": "Shadow = "
|
|
17794
|
+
},
|
|
17795
|
+
{
|
|
17796
|
+
"kind": "Content",
|
|
17797
|
+
"text": "\"shadow\""
|
|
17798
|
+
}
|
|
17799
|
+
],
|
|
17800
|
+
"initializerTokenRange": {
|
|
17801
|
+
"startIndex": 1,
|
|
17802
|
+
"endIndex": 2
|
|
17803
|
+
},
|
|
17804
|
+
"releaseTag": "Public",
|
|
17805
|
+
"name": "Shadow"
|
|
17806
|
+
},
|
|
17471
17807
|
{
|
|
17472
17808
|
"kind": "EnumMember",
|
|
17473
17809
|
"canonicalReference": "@pacem/pacem-3d!Components.Drawing3D.StalePropertyFlag.Transform:member",
|
|
@@ -21176,6 +21512,33 @@
|
|
|
21176
21512
|
"endIndex": 2
|
|
21177
21513
|
}
|
|
21178
21514
|
},
|
|
21515
|
+
{
|
|
21516
|
+
"kind": "PropertySignature",
|
|
21517
|
+
"canonicalReference": "@pacem/pacem-3d!Drawing3D.Light#castShadow:member",
|
|
21518
|
+
"docComment": "/**\n * Whether the light casts shadows (directional and omni lights).\n */\n",
|
|
21519
|
+
"excerptTokens": [
|
|
21520
|
+
{
|
|
21521
|
+
"kind": "Content",
|
|
21522
|
+
"text": "castShadow?: "
|
|
21523
|
+
},
|
|
21524
|
+
{
|
|
21525
|
+
"kind": "Content",
|
|
21526
|
+
"text": "boolean"
|
|
21527
|
+
},
|
|
21528
|
+
{
|
|
21529
|
+
"kind": "Content",
|
|
21530
|
+
"text": ";"
|
|
21531
|
+
}
|
|
21532
|
+
],
|
|
21533
|
+
"isReadonly": false,
|
|
21534
|
+
"isOptional": true,
|
|
21535
|
+
"releaseTag": "Public",
|
|
21536
|
+
"name": "castShadow",
|
|
21537
|
+
"propertyTypeTokenRange": {
|
|
21538
|
+
"startIndex": 1,
|
|
21539
|
+
"endIndex": 2
|
|
21540
|
+
}
|
|
21541
|
+
},
|
|
21179
21542
|
{
|
|
21180
21543
|
"kind": "PropertySignature",
|
|
21181
21544
|
"canonicalReference": "@pacem/pacem-3d!Drawing3D.Light#color:member",
|
|
@@ -21230,6 +21593,60 @@
|
|
|
21230
21593
|
"endIndex": 2
|
|
21231
21594
|
}
|
|
21232
21595
|
},
|
|
21596
|
+
{
|
|
21597
|
+
"kind": "PropertySignature",
|
|
21598
|
+
"canonicalReference": "@pacem/pacem-3d!Drawing3D.Light#shadowBias:member",
|
|
21599
|
+
"docComment": "/**\n * Normal offset applied to the receivers before testing them against the shadow map, as a fraction of the shadow frustum radius: fights shadow acne.\n */\n",
|
|
21600
|
+
"excerptTokens": [
|
|
21601
|
+
{
|
|
21602
|
+
"kind": "Content",
|
|
21603
|
+
"text": "shadowBias?: "
|
|
21604
|
+
},
|
|
21605
|
+
{
|
|
21606
|
+
"kind": "Content",
|
|
21607
|
+
"text": "number"
|
|
21608
|
+
},
|
|
21609
|
+
{
|
|
21610
|
+
"kind": "Content",
|
|
21611
|
+
"text": ";"
|
|
21612
|
+
}
|
|
21613
|
+
],
|
|
21614
|
+
"isReadonly": false,
|
|
21615
|
+
"isOptional": true,
|
|
21616
|
+
"releaseTag": "Public",
|
|
21617
|
+
"name": "shadowBias",
|
|
21618
|
+
"propertyTypeTokenRange": {
|
|
21619
|
+
"startIndex": 1,
|
|
21620
|
+
"endIndex": 2
|
|
21621
|
+
}
|
|
21622
|
+
},
|
|
21623
|
+
{
|
|
21624
|
+
"kind": "PropertySignature",
|
|
21625
|
+
"canonicalReference": "@pacem/pacem-3d!Drawing3D.Light#shadowMapSize:member",
|
|
21626
|
+
"docComment": "/**\n * Side, in texels, of the light's shadow map.\n */\n",
|
|
21627
|
+
"excerptTokens": [
|
|
21628
|
+
{
|
|
21629
|
+
"kind": "Content",
|
|
21630
|
+
"text": "shadowMapSize?: "
|
|
21631
|
+
},
|
|
21632
|
+
{
|
|
21633
|
+
"kind": "Content",
|
|
21634
|
+
"text": "number"
|
|
21635
|
+
},
|
|
21636
|
+
{
|
|
21637
|
+
"kind": "Content",
|
|
21638
|
+
"text": ";"
|
|
21639
|
+
}
|
|
21640
|
+
],
|
|
21641
|
+
"isReadonly": false,
|
|
21642
|
+
"isOptional": true,
|
|
21643
|
+
"releaseTag": "Public",
|
|
21644
|
+
"name": "shadowMapSize",
|
|
21645
|
+
"propertyTypeTokenRange": {
|
|
21646
|
+
"startIndex": 1,
|
|
21647
|
+
"endIndex": 2
|
|
21648
|
+
}
|
|
21649
|
+
},
|
|
21233
21650
|
{
|
|
21234
21651
|
"kind": "PropertySignature",
|
|
21235
21652
|
"canonicalReference": "@pacem/pacem-3d!Drawing3D.Light#target:member",
|
|
@@ -22362,6 +22779,33 @@
|
|
|
22362
22779
|
"endIndex": 2
|
|
22363
22780
|
}
|
|
22364
22781
|
},
|
|
22782
|
+
{
|
|
22783
|
+
"kind": "PropertySignature",
|
|
22784
|
+
"canonicalReference": "@pacem/pacem-3d!Drawing3D.Mesh#castShadow:member",
|
|
22785
|
+
"docComment": "/**\n * Gets or sets whether the mesh occludes shadow-casting lights (defaults to `true`).\n */\n",
|
|
22786
|
+
"excerptTokens": [
|
|
22787
|
+
{
|
|
22788
|
+
"kind": "Content",
|
|
22789
|
+
"text": "castShadow?: "
|
|
22790
|
+
},
|
|
22791
|
+
{
|
|
22792
|
+
"kind": "Content",
|
|
22793
|
+
"text": "boolean"
|
|
22794
|
+
},
|
|
22795
|
+
{
|
|
22796
|
+
"kind": "Content",
|
|
22797
|
+
"text": ";"
|
|
22798
|
+
}
|
|
22799
|
+
],
|
|
22800
|
+
"isReadonly": false,
|
|
22801
|
+
"isOptional": true,
|
|
22802
|
+
"releaseTag": "Public",
|
|
22803
|
+
"name": "castShadow",
|
|
22804
|
+
"propertyTypeTokenRange": {
|
|
22805
|
+
"startIndex": 1,
|
|
22806
|
+
"endIndex": 2
|
|
22807
|
+
}
|
|
22808
|
+
},
|
|
22365
22809
|
{
|
|
22366
22810
|
"kind": "PropertySignature",
|
|
22367
22811
|
"canonicalReference": "@pacem/pacem-3d!Drawing3D.Mesh#geometry:member",
|
|
@@ -22417,6 +22861,33 @@
|
|
|
22417
22861
|
"startIndex": 1,
|
|
22418
22862
|
"endIndex": 2
|
|
22419
22863
|
}
|
|
22864
|
+
},
|
|
22865
|
+
{
|
|
22866
|
+
"kind": "PropertySignature",
|
|
22867
|
+
"canonicalReference": "@pacem/pacem-3d!Drawing3D.Mesh#receiveShadow:member",
|
|
22868
|
+
"docComment": "/**\n * Gets or sets whether the mesh gets darkened by the shadows of the other meshes (defaults to `true`).\n */\n",
|
|
22869
|
+
"excerptTokens": [
|
|
22870
|
+
{
|
|
22871
|
+
"kind": "Content",
|
|
22872
|
+
"text": "receiveShadow?: "
|
|
22873
|
+
},
|
|
22874
|
+
{
|
|
22875
|
+
"kind": "Content",
|
|
22876
|
+
"text": "boolean"
|
|
22877
|
+
},
|
|
22878
|
+
{
|
|
22879
|
+
"kind": "Content",
|
|
22880
|
+
"text": ";"
|
|
22881
|
+
}
|
|
22882
|
+
],
|
|
22883
|
+
"isReadonly": false,
|
|
22884
|
+
"isOptional": true,
|
|
22885
|
+
"releaseTag": "Public",
|
|
22886
|
+
"name": "receiveShadow",
|
|
22887
|
+
"propertyTypeTokenRange": {
|
|
22888
|
+
"startIndex": 1,
|
|
22889
|
+
"endIndex": 2
|
|
22890
|
+
}
|
|
22420
22891
|
}
|
|
22421
22892
|
],
|
|
22422
22893
|
"extendsTokenRanges": [
|
|
@@ -24985,6 +25456,36 @@
|
|
|
24985
25456
|
"name": "Pacem3DLightElement",
|
|
24986
25457
|
"preserveMemberOrder": false,
|
|
24987
25458
|
"members": [
|
|
25459
|
+
{
|
|
25460
|
+
"kind": "Property",
|
|
25461
|
+
"canonicalReference": "@pacem/pacem-3d!Drawing3D.Pacem3DLightElement#castShadow:member",
|
|
25462
|
+
"docComment": "/**\n * Gets or sets whether the light casts shadows (directional and omni lights, WebGPU adapter).\n */\n",
|
|
25463
|
+
"excerptTokens": [
|
|
25464
|
+
{
|
|
25465
|
+
"kind": "Content",
|
|
25466
|
+
"text": "castShadow: "
|
|
25467
|
+
},
|
|
25468
|
+
{
|
|
25469
|
+
"kind": "Content",
|
|
25470
|
+
"text": "boolean"
|
|
25471
|
+
},
|
|
25472
|
+
{
|
|
25473
|
+
"kind": "Content",
|
|
25474
|
+
"text": ";"
|
|
25475
|
+
}
|
|
25476
|
+
],
|
|
25477
|
+
"isReadonly": false,
|
|
25478
|
+
"isOptional": false,
|
|
25479
|
+
"releaseTag": "Public",
|
|
25480
|
+
"name": "castShadow",
|
|
25481
|
+
"propertyTypeTokenRange": {
|
|
25482
|
+
"startIndex": 1,
|
|
25483
|
+
"endIndex": 2
|
|
25484
|
+
},
|
|
25485
|
+
"isStatic": false,
|
|
25486
|
+
"isProtected": false,
|
|
25487
|
+
"isAbstract": false
|
|
25488
|
+
},
|
|
24988
25489
|
{
|
|
24989
25490
|
"kind": "Property",
|
|
24990
25491
|
"canonicalReference": "@pacem/pacem-3d!Drawing3D.Pacem3DLightElement#color:member",
|
|
@@ -25141,6 +25642,66 @@
|
|
|
25141
25642
|
"isAbstract": false,
|
|
25142
25643
|
"name": "propertyChangedCallback"
|
|
25143
25644
|
},
|
|
25645
|
+
{
|
|
25646
|
+
"kind": "Property",
|
|
25647
|
+
"canonicalReference": "@pacem/pacem-3d!Drawing3D.Pacem3DLightElement#shadowBias:member",
|
|
25648
|
+
"docComment": "/**\n * Gets or sets the normal offset applied to the shadow receivers, as a fraction of the shadow frustum radius: raise it against shadow acne, lower it against detached shadows.\n */\n",
|
|
25649
|
+
"excerptTokens": [
|
|
25650
|
+
{
|
|
25651
|
+
"kind": "Content",
|
|
25652
|
+
"text": "shadowBias: "
|
|
25653
|
+
},
|
|
25654
|
+
{
|
|
25655
|
+
"kind": "Content",
|
|
25656
|
+
"text": "number"
|
|
25657
|
+
},
|
|
25658
|
+
{
|
|
25659
|
+
"kind": "Content",
|
|
25660
|
+
"text": ";"
|
|
25661
|
+
}
|
|
25662
|
+
],
|
|
25663
|
+
"isReadonly": false,
|
|
25664
|
+
"isOptional": false,
|
|
25665
|
+
"releaseTag": "Public",
|
|
25666
|
+
"name": "shadowBias",
|
|
25667
|
+
"propertyTypeTokenRange": {
|
|
25668
|
+
"startIndex": 1,
|
|
25669
|
+
"endIndex": 2
|
|
25670
|
+
},
|
|
25671
|
+
"isStatic": false,
|
|
25672
|
+
"isProtected": false,
|
|
25673
|
+
"isAbstract": false
|
|
25674
|
+
},
|
|
25675
|
+
{
|
|
25676
|
+
"kind": "Property",
|
|
25677
|
+
"canonicalReference": "@pacem/pacem-3d!Drawing3D.Pacem3DLightElement#shadowMapSize:member",
|
|
25678
|
+
"docComment": "/**\n * Gets or sets the side, in texels, of the light's shadow map.\n */\n",
|
|
25679
|
+
"excerptTokens": [
|
|
25680
|
+
{
|
|
25681
|
+
"kind": "Content",
|
|
25682
|
+
"text": "shadowMapSize: "
|
|
25683
|
+
},
|
|
25684
|
+
{
|
|
25685
|
+
"kind": "Content",
|
|
25686
|
+
"text": "number"
|
|
25687
|
+
},
|
|
25688
|
+
{
|
|
25689
|
+
"kind": "Content",
|
|
25690
|
+
"text": ";"
|
|
25691
|
+
}
|
|
25692
|
+
],
|
|
25693
|
+
"isReadonly": false,
|
|
25694
|
+
"isOptional": false,
|
|
25695
|
+
"releaseTag": "Public",
|
|
25696
|
+
"name": "shadowMapSize",
|
|
25697
|
+
"propertyTypeTokenRange": {
|
|
25698
|
+
"startIndex": 1,
|
|
25699
|
+
"endIndex": 2
|
|
25700
|
+
},
|
|
25701
|
+
"isStatic": false,
|
|
25702
|
+
"isProtected": false,
|
|
25703
|
+
"isAbstract": false
|
|
25704
|
+
},
|
|
25144
25705
|
{
|
|
25145
25706
|
"kind": "Property",
|
|
25146
25707
|
"canonicalReference": "@pacem/pacem-3d!Drawing3D.Pacem3DLightElement#target:member",
|
|
@@ -25279,6 +25840,36 @@
|
|
|
25279
25840
|
"isProtected": false,
|
|
25280
25841
|
"isAbstract": false
|
|
25281
25842
|
},
|
|
25843
|
+
{
|
|
25844
|
+
"kind": "Property",
|
|
25845
|
+
"canonicalReference": "@pacem/pacem-3d!Drawing3D.Pacem3DMeshElement#castShadow:member",
|
|
25846
|
+
"docComment": "/**\n * Gets or sets whether the mesh occludes shadow-casting lights.\n */\n",
|
|
25847
|
+
"excerptTokens": [
|
|
25848
|
+
{
|
|
25849
|
+
"kind": "Content",
|
|
25850
|
+
"text": "castShadow: "
|
|
25851
|
+
},
|
|
25852
|
+
{
|
|
25853
|
+
"kind": "Content",
|
|
25854
|
+
"text": "boolean"
|
|
25855
|
+
},
|
|
25856
|
+
{
|
|
25857
|
+
"kind": "Content",
|
|
25858
|
+
"text": ";"
|
|
25859
|
+
}
|
|
25860
|
+
],
|
|
25861
|
+
"isReadonly": false,
|
|
25862
|
+
"isOptional": false,
|
|
25863
|
+
"releaseTag": "Public",
|
|
25864
|
+
"name": "castShadow",
|
|
25865
|
+
"propertyTypeTokenRange": {
|
|
25866
|
+
"startIndex": 1,
|
|
25867
|
+
"endIndex": 2
|
|
25868
|
+
},
|
|
25869
|
+
"isStatic": false,
|
|
25870
|
+
"isProtected": false,
|
|
25871
|
+
"isAbstract": false
|
|
25872
|
+
},
|
|
25282
25873
|
{
|
|
25283
25874
|
"kind": "Property",
|
|
25284
25875
|
"canonicalReference": "@pacem/pacem-3d!Drawing3D.Pacem3DMeshElement#geometry:member",
|
|
@@ -25436,6 +26027,36 @@
|
|
|
25436
26027
|
"isOptional": false,
|
|
25437
26028
|
"isAbstract": false,
|
|
25438
26029
|
"name": "propertyChangedCallback"
|
|
26030
|
+
},
|
|
26031
|
+
{
|
|
26032
|
+
"kind": "Property",
|
|
26033
|
+
"canonicalReference": "@pacem/pacem-3d!Drawing3D.Pacem3DMeshElement#receiveShadow:member",
|
|
26034
|
+
"docComment": "/**\n * Gets or sets whether the mesh gets darkened by the shadows of the other meshes.\n */\n",
|
|
26035
|
+
"excerptTokens": [
|
|
26036
|
+
{
|
|
26037
|
+
"kind": "Content",
|
|
26038
|
+
"text": "receiveShadow: "
|
|
26039
|
+
},
|
|
26040
|
+
{
|
|
26041
|
+
"kind": "Content",
|
|
26042
|
+
"text": "boolean"
|
|
26043
|
+
},
|
|
26044
|
+
{
|
|
26045
|
+
"kind": "Content",
|
|
26046
|
+
"text": ";"
|
|
26047
|
+
}
|
|
26048
|
+
],
|
|
26049
|
+
"isReadonly": false,
|
|
26050
|
+
"isOptional": false,
|
|
26051
|
+
"releaseTag": "Public",
|
|
26052
|
+
"name": "receiveShadow",
|
|
26053
|
+
"propertyTypeTokenRange": {
|
|
26054
|
+
"startIndex": 1,
|
|
26055
|
+
"endIndex": 2
|
|
26056
|
+
},
|
|
26057
|
+
"isStatic": false,
|
|
26058
|
+
"isProtected": false,
|
|
26059
|
+
"isAbstract": false
|
|
25439
26060
|
}
|
|
25440
26061
|
],
|
|
25441
26062
|
"extendsTokenRange": {
|
|
@@ -28045,6 +28666,27 @@
|
|
|
28045
28666
|
"releaseTag": "Public",
|
|
28046
28667
|
"name": "Position"
|
|
28047
28668
|
},
|
|
28669
|
+
{
|
|
28670
|
+
"kind": "EnumMember",
|
|
28671
|
+
"canonicalReference": "@pacem/pacem-3d!Drawing3D.StalePropertyFlag.Shadow:member",
|
|
28672
|
+
"docComment": "/**\n * The mesh's {@link Mesh.castShadow}/{@link Mesh.receiveShadow} changed.\n */\n",
|
|
28673
|
+
"excerptTokens": [
|
|
28674
|
+
{
|
|
28675
|
+
"kind": "Content",
|
|
28676
|
+
"text": "Shadow = "
|
|
28677
|
+
},
|
|
28678
|
+
{
|
|
28679
|
+
"kind": "Content",
|
|
28680
|
+
"text": "\"shadow\""
|
|
28681
|
+
}
|
|
28682
|
+
],
|
|
28683
|
+
"initializerTokenRange": {
|
|
28684
|
+
"startIndex": 1,
|
|
28685
|
+
"endIndex": 2
|
|
28686
|
+
},
|
|
28687
|
+
"releaseTag": "Public",
|
|
28688
|
+
"name": "Shadow"
|
|
28689
|
+
},
|
|
28048
28690
|
{
|
|
28049
28691
|
"kind": "EnumMember",
|
|
28050
28692
|
"canonicalReference": "@pacem/pacem-3d!Drawing3D.StalePropertyFlag.Transform:member",
|