Commit e46c30d5 authored by iSergio's avatar iSergio
Browse files

Vertical exaggeration can now be applied to a Cesium3DTileset. Exaggeration of...

Vertical exaggeration can now be applied to a Cesium3DTileset. Exaggeration of Terrain and Cesium3DTileset can be controlled simultaneously via the new Scene properties Scene.verticalExaggeration and Scene.verticalExaggerationRelativeHeight
parent 41f241d7
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -335,6 +335,21 @@ public class Scene {
     */
    @JsProperty
    public boolean useWebVR;

    /**
     * The vertical exaggeration of the scene. When set to 1.0, no exaggeration is applied.
     * Default: 1.0
     */
    @JsProperty
    public double verticalExaggeration;

    /**
     * The reference height for vertical exaggeration of the scene. When set to 0.0, the exaggeration is applied relative to the ellipsoid surface.
     * Default: 0.0
     */
    @JsProperty
    public double verticalExaggerationRelativeHeight;

    /**
     * Whether or not to use high dynamic range rendering. Default: true
     */