You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGES.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,19 @@
1
1
# Change Log
2
2
3
-
## 1.131 - TBD
3
+
4
+
## 1.131 - 2025-07-01
5
+
6
+
### @cesium/engine
7
+
8
+
### Fixes :wrench:
9
+
10
+
- Updates use of deprecated options on createImageBitmap. [#12664](https://github.com/CesiumGS/cesium/pull/12664)
11
+
12
+
#### Additions :tada:
13
+
14
+
- Added `HeightReference` to `Cesium3DTileset.ConstructorOptions` to allow clamping point features in 3D Tile vector data to terrain or 3D Tiles [#11710](https://github.com/CesiumGS/cesium/pull/11710)
Copy file name to clipboardExpand all lines: packages/engine/Source/Scene/Cesium3DTileset.js
+41Lines changed: 41 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -102,6 +102,8 @@ import ImageryLayerCollection from "./ImageryLayerCollection.js";
102
102
* @property {ClippingPlaneCollection} [clippingPlanes] The {@link ClippingPlaneCollection} used to selectively disable rendering the tileset.
103
103
* @property {ClippingPolygonCollection} [clippingPolygons] The {@link ClippingPolygonCollection} used to selectively disable rendering the tileset.
104
104
* @property {ClassificationType} [classificationType] Determines whether terrain, 3D Tiles or both will be classified by this tileset. See {@link Cesium3DTileset#classificationType} for details about restrictions and limitations.
105
+
* @property {HeightReference} [heightReference] Sets the {@link HeightReference} for point features in vector tilesets.
106
+
* @property {Scene} [scene] The {@link CesiumWidget#scene} that the tileset will be rendered in, required for tilesets that specify a {@link heightReference} value for clamping 3D Tiles vector data content- like points, lines, and labels- to terrain or 3D tiles.
105
107
* @property {Ellipsoid} [ellipsoid=Ellipsoid.WGS84] The ellipsoid determining the size and shape of the globe.
106
108
* @property {object} [pointCloudShading] Options for constructing a {@link PointCloudShading} object to control point attenuation based on geometric error and lighting.
107
109
* @property {Cartesian3} [lightColor] The light color when shading models. When <code>undefined</code> the scene's light color is used instead.
@@ -337,6 +339,8 @@ function Cesium3DTileset(options) {
* Specifies if the height is relative to terrain, 3D Tiles, or both.
1829
+
* <p>
1830
+
* This option is only applied to point features in tilesets containing vector data.
1831
+
* This option requires the Viewer's scene to be passed in through options.scene.
1832
+
* </p>
1833
+
*
1834
+
* @memberof Cesium3DTileset.prototype
1835
+
*
1836
+
* @type {HeightReference | undefined}
1837
+
* @default undefined
1838
+
*
1839
+
* @experimental This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.
1840
+
* @readonly
1841
+
*/
1842
+
heightReference: {
1843
+
get: function(){
1844
+
returnthis._heightReference;
1845
+
},
1846
+
},
1847
+
1848
+
/**
1849
+
* The {@link CesiumWidget#scene} that the tileset will be rendered in, required for tilesets that specify a {@link heightReference} value for clamping 3D Tiles vector data content- like points, lines, and labels- to terrain or 3D tiles.
1850
+
*
1851
+
* @member of Cesium3DTileset.prototype
1852
+
*
1853
+
* @type {Scene | undefined}
1854
+
* @default undefined
1855
+
* @readonly
1856
+
*
1857
+
*/
1858
+
scene: {
1859
+
get: function(){
1860
+
returnthis._scene;
1861
+
},
1862
+
},
1863
+
1823
1864
/**
1824
1865
* Gets an ellipsoid describing the shape of the globe.
0 commit comments