Commit bad24f03 authored by iSergio's avatar iSergio
Browse files

Added clipping planes to ModelExperimental

parent 76f37cd8
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ import jsinterop.annotations.JsConstructor;
import jsinterop.annotations.JsMethod;
import jsinterop.annotations.JsProperty;
import jsinterop.annotations.JsType;
import org.cesiumjs.cs.collections.ClippingPlaneCollection;
import org.cesiumjs.cs.core.BoundingSphere;
import org.cesiumjs.cs.core.Cartesian3;
import org.cesiumjs.cs.core.Color;
@@ -43,6 +44,11 @@ public class ModelExperimental {
     */
    @JsProperty(name = "boundingSphere")
    public native BoundingSphere boundingSphere();
    /**
     * The {@link ClippingPlaneCollection} used to selectively disable rendering the model.
     */
    @JsProperty
    public ClippingPlaneCollection clippingPlanes;
    /**
     * The color to blend with the model's rendered color.
     */
+6 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
package org.cesiumjs.cs.scene.experimental.options;

import jsinterop.annotations.*;
import org.cesiumjs.cs.collections.ClippingPlaneCollection;
import org.cesiumjs.cs.core.Cartesian3;
import org.cesiumjs.cs.core.Color;
import org.cesiumjs.cs.core.Matrix4;
@@ -136,6 +137,11 @@ public class ModelExperimentalOptions {
     */
    @JsProperty
    public PointCloudShading pointCloudShading;
    /**
     * The ClippingPlaneCollection used to selectively disable rendering the model.
     */
    @JsProperty
    public ClippingPlaneCollection clippingPlanes;
    /**
     * The light color when shading the model. When undefined the scene's light color is used instead.
     */