Commit 60b693da authored by iSergio's avatar iSergio
Browse files

Fix exmaple

parent a88c007f
Loading
Loading
Loading
Loading
+28 −2
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@ public class ModelExperimental {
     * Default: 0
     */
    @JsProperty
    public double featureIdIndex;
    public double featureIdLabel;
    /**
     * 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.
@@ -89,7 +89,33 @@ public class ModelExperimental {
     * Default: 0
     */
    @JsProperty
    public double instanceFeatureIdIndex;
    public double instanceFeatureIdLabel;
//    ImageBasedLighting imageBasedLighting;
//
//    The properties for managing image-based lighting on this model.
//            instanceFeatureIdLabel : String Scene/ModelExperimental/ModelExperimental.js 760
//
//    Label of the instance feature ID set used for picking and styling.
//    If instanceFeatureIdLabel is set to an integer N, it is converted to the string "instanceFeatureId_N" automatically. If both per-primitive and per-instance feature IDs are present, the instance feature IDs take priority.
//
//    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.
//    lightColor : Cartesian3 Scene/ModelExperimental/ModelExperimental.js 813
//
//    The light color when shading the model. When undefined the scene's light color is used instead.
//    Disabling additional light sources by setting model.imageBasedLightingFactor = new Cartesian2(0.0, 0.0) will make the model much darker. Here, increasing the intensity of the light source will make the model brighter.
//
//    Default Value:  undefined
//    maximumScale : Number Scene/ModelExperimental/ModelExperimental.js 951
//
//    The maximum scale size for a model. This can be used to give an upper limit to the Model#minimumPixelSize, ensuring that the model is never an unreasonable scale.
//            minimumPixelSize : Number Scene/ModelExperimental/ModelExperimental.js 930
//
//    The approximate minimum pixel size of the model regardless of zoom. This can be used to ensure that a model is visible even when the viewer zooms out. When 0.0, no minimum size is enforced.
//    Default Value:  0.0
//    pointCloudShading : PointCloudShading Scene/ModelExperimental/ModelExperimental.js 437
//
//    Point cloud shading settings for controlling point cloud attenuation and lighting. For 3D Tiles, this is inherited from the Cesium3DTileset.
    /**
     * When true, this model is ready to render, i.e., the external binary, image, and shader files were downloaded and the WebGL resources were created. This is set to true right before ModelExperimental#readyPromise is resolved.
     * Default: false
+19 −2
Original line number Diff line number Diff line
@@ -39,6 +39,23 @@ public class ModelExperimentalOptions {
     */
    @JsProperty
    public Matrix4 modelMatrix;
    /**
     * A uniform scale applied to this model.
     * Default: 1.0
     */
    @JsProperty
    public double scale;
    /**
     * The approximate minimum pixel size of the model regardless of zoom.
     * Default: 0
     */
    @JsProperty
    public double minimumPixelSize;
    /**
     * The maximum scale size of a model. An upper limit for minimumPixelSize.
     */
    @JsProperty
    public double maximumScale;
    /**
     * For debugging only. Draws the bounding sphere for each draw command in the model.
     */
@@ -102,7 +119,7 @@ public class ModelExperimentalOptions {
     * Default: 0
     */
    @JsProperty
    public double featureIdIndex;
    public double featureIdLabel;
    /**
     * 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.
@@ -110,7 +127,7 @@ public class ModelExperimentalOptions {
     * Default: 0
     */
    @JsProperty
    public double instanceFeatureIdIndex;
    public double instanceFeatureIdLabel;
    /**
     * Options for constructing a PointCloudShading object to control point attenuation
     * based on geometric error and lighting.