Commit 59dc6088 authored by iSergio's avatar iSergio
Browse files

Added heightReference to ModelExperimental

parent 858cdeb5
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@ import org.cesiumjs.cs.promise.Promise;
import org.cesiumjs.cs.scene.ImageBasedLighting;
import org.cesiumjs.cs.scene.PointCloudShading;
import org.cesiumjs.cs.scene.enums.ColorBlendMode;
import org.cesiumjs.cs.scene.enums.HeightReference;
import org.cesiumjs.cs.scene.experimental.options.ModelExperimentalFromGltfOptions;
import org.cesiumjs.cs.scene.experimental.options.ModelExperimentalOptions;

@@ -99,6 +100,12 @@ public class ModelExperimental {
     */
    @JsProperty
    public double featureIdLabel;
    /**
     * The height reference of the model, which determines how the model is drawn relative to terrain.
     * Default: {@link HeightReference#NONE()}
     */
    @JsProperty
    public HeightReference heightReference;
    /**
     * The index into the list of instance feature IDs used for picking and styling. If both per-primitive and
     * per-instance feature IDs are present, the instance feature IDs take priority.
+7 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ import org.cesiumjs.cs.core.Resource;
import org.cesiumjs.cs.scene.Cesium3DTileContent;
import org.cesiumjs.cs.scene.ImageBasedLighting;
import org.cesiumjs.cs.scene.PointCloudShading;
import org.cesiumjs.cs.scene.enums.HeightReference;
import org.cesiumjs.cs.scene.enums.ShadowMode;
import org.cesiumjs.cs.scene.experimental.CustomShader;
import org.cesiumjs.cs.scene.enums.ColorBlendMode;
@@ -100,6 +101,12 @@ public class ModelExperimentalOptions {
     */
    @JsProperty
    public Cesium3DTileContent content;
    /**
     * Determines how the model is drawn relative to terrain.
     * Default: {@link HeightReference#NONE()}
     */
    @JsProperty
    public HeightReference heightReference;
    /**
     * Whether or not to render the model.
     */