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
+2
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ Change Log
7
7
* The function `Quaternion.fromHeadingPitchRoll(heading, pitch, roll, result)` was removed. Use `Quaternion.fromHeadingPitchRoll(hpr, result)` instead where `hpr` is a `HeadingPitchRoll`.
8
8
* The function `Transforms.headingPitchRollToFixedFrame(origin, headingPitchRoll, ellipsoid, result)` was removed. Use `Transforms.headingPitchRollToFixedFrame(origin, headingPitchRoll, ellipsoid, fixedFrameTransform, result)` instead where `fixedFrameTransform` is a a 4x4 transformation matrix (see `Transforms.localFrameToFixedFrameGenerator`).
9
9
* The function `Transforms.headingPitchRollQuaternion(origin, headingPitchRoll, ellipsoid, result)` was removed. Use `Transforms.headingPitchRollQuaternion(origin, headingPitchRoll, ellipsoid, fixedFrameTransform, result)` instead where `fixedFrameTransform` is a a 4x4 transformation matrix (see `Transforms.localFrameToFixedFrameGenerator`).
10
+
* The `color`, `show`, and `pointSize` properties of `Cesium3DTileStyle` are no longer initialized with default values.
10
11
* Deprecated
11
12
*`Scene/CullingVolume` is deprecated and will be removed in 1.38. Use `Core/CullingVolume`.
12
13
*`Scene/OrthographicFrustum` is deprecated and will be removed in 1.38. Use `Core/OrthographicFrustum`.
@@ -17,6 +18,7 @@ Change Log
17
18
* Fixed issue where composite 3D Tiles that contained instanced 3D Tiles with an external model reference would fail to download the model.
18
19
* Added behavior to `Cesium3DTilesInspector` that selects the first tileset hovered over if no tilest is specified. [#5139](https://github.com/AnalyticalGraphicsInc/cesium/issues/5139)
19
20
* Added ability to provide a `width` and `height` to `scene.pick`. [#5602](https://github.com/AnalyticalGraphicsInc/cesium/pull/5602)
21
+
* Added ability to set a style's `color`, `show`, or `pointSize` with a string or object literal. `show` may also take a boolean and `pointSize` may take a number. [#5412](https://github.com/AnalyticalGraphicsInc/cesium/pull/5412)
20
22
* Added setter for `KmlDataSource.name` to specify a name for the datasource [#5660](https://github.com/AnalyticalGraphicsInc/cesium/pull/5660).
21
23
* Added setter for `GeoJsonDataSource.name` to specify a name for the datasource [#5653](https://github.com/AnalyticalGraphicsInc/cesium/issues/5653)
22
24
* Fixed issue where scene would blink when labels were added. [#5537](https://github.com/AnalyticalGraphicsInc/cesium/issues/5537)
* Gets or sets the {@link StyleExpression} object used to evaluate the style's <code>show</code> property.
172
+
* Gets or sets the {@link StyleExpression} object used to evaluate the style's <code>show</code> property. Alternatively a boolean, string, or object defining a show style can be used.
173
+
* The getter will return the internal {@link Expression} or {@link ConditionsExpression}, which may differ from the value provided to the setter.
213
174
* <p>
214
175
* The expression must return or convert to a <code>Boolean</code>.
* Gets or sets the {@link StyleExpression} object used to evaluate the style's <code>color</code> property.
249
+
* Gets or sets the {@link StyleExpression} object used to evaluate the style's <code>color</code> property. Alternatively a string or object defining a color style can be used.
250
+
* The getter will return the internal {@link Expression} or {@link ConditionsExpression}, which may differ from the value provided to the setter.
256
251
* <p>
257
252
* The expression must return a <code>Color</code>.
* Gets or sets the {@link StyleExpression} object used to evaluate the style's <code>pointSize</code> property.
317
+
* Gets or sets the {@link StyleExpression} object used to evaluate the style's <code>pointSize</code> property. Alternatively a number, string, or object defining a pointSize style can be used.
318
+
* The getter will return the internal {@link Expression} or {@link ConditionsExpression}, which may differ from the value provided to the setter.
299
319
* <p>
300
320
* The expression must return or convert to a <code>Number</code>.
301
321
* </p>
@@ -320,6 +340,26 @@ define([
320
340
* return 1.0;
321
341
* }
322
342
* };
343
+
*
344
+
* @example
345
+
* var style = new Cesium.Cesium3DTileStyle();
346
+
* // Override pointSize expression with a number
347
+
* style.pointSize = 1.0;
348
+
*
349
+
* @example
350
+
* var style = new Cesium.Cesium3DTileStyle();
351
+
* // Override pointSize expression with a string
352
+
* style.pointSize = '${height} / 10';
353
+
*
354
+
* @example
355
+
* var style = new Cesium.Cesium3DTileStyle();
356
+
* // Override pointSize expression with a condition
0 commit comments