Hello,
I am using Sensor plugin to visualize some kind of 3D conic pie and I have the following code piece. The value of innerHalfAngle seems to have no effect on the entity. It keeps drawing the same shape whatever I set the value. And is there a way to draw the dome for the cone at all?
Thanks
var sensor = new CesiumSensors.ConicSensorGraphics();
sensor.show = true;
sensor.radius=1000000.0;
sensor.innerHalfAngle = Cesium.Math.PI_OVER_FOUR;
sensor.outerHalfAngle = Cesium.Math.PI_OVER_FOUR * 3;
sensor.lateralSurfaceMaterial = new Cesium.ColorMaterialProperty(new Cesium.Color(0.2, 0.2, 1, 0.5));
sensor.showIntersection = false;
sensor.intersectionWidth = 2.0;
sensor.intersectionColor = Cesium.Color.YELLOW;
var e = new Cesium.Entity({
'position': new Cesium.ConstantPositionProperty(Cesium.Cartesian3.fromDegrees(30,30)),
'id' : 'asdasdadad',
'orientation': Cesium.Transforms.headingPitchRollQuaternion(Cesium.Cartesian3.fromDegrees(30, 30),
0, toRadians(180), 0)
});