Skip to content

Commit

Permalink
add back Cesium3DTileset properties
Browse files Browse the repository at this point in the history
  • Loading branch information
ebogo1 committed Mar 9, 2021
1 parent 902f668 commit 4668ca6
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion Source/Scene/Cesium3DTileset.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ import TileOrientedBoundingBox from "./TileOrientedBoundingBox.js";
* @param {Boolean} [options.debugShowRenderingStatistics=false] For debugging only. When true, draws labels to indicate the number of commands, points, triangles and features for each tile.
* @param {Boolean} [options.debugShowMemoryUsage=false] For debugging only. When true, draws labels to indicate the texture and geometry memory in megabytes used by each tile.
* @param {Boolean} [options.debugShowUrl=false] For debugging only. When true, draws labels to indicate the url of each tile.
* @param {Boolean} [options.noClassificationModels=false] Do not use b3dms for classification.
* @param {Boolean} [options.noClassificationModels=false] Indicates that the tileset's b3dms should not be used for classification.
*
* @exception {DeveloperError} The tileset must be 3D Tiles version 0.0 or 1.0.
*
Expand Down Expand Up @@ -1668,6 +1668,34 @@ Object.defineProperties(Cesium3DTileset.prototype, {
Cartesian2.clone(value, this._imageBasedLightingFactor);
},
},

/**
* Minimum and maximum heights that vector tiles clamped to surfaces will clamp to.
*
* @memberof Cesium3DTileset.prototype
*
* @type {Cartesian2}
* @default undefined
*/
minimumMaximumVectorHeights: {
get: function () {
return this._minimumMaximumVectorHeights;
},
},

/**
* Indicates that the tileset's b3dms should not be used for classification.
*
* @memberof Cesium3DTileset.prototype
*
* @type {Boolean}
* @default false
*/
noClassificationModels: {
get: function () {
return this._noClassificationModels;
},
},
});

/**
Expand Down

0 comments on commit 4668ca6

Please sign in to comment.