1. A concise explanation of the problem you’re experiencing.
Hi,
I create a tile. For instance:
var instance = new Cesium.GeometryInstance({
geometry : new Cesium.RectangleGeometry({
rectangle : Cesium.Rectangle.fromDegrees(-100.0, 20.0, -90.0, 30.0),
vertexFormat : Cesium.EllipsoidSurfaceAppearance.VERTEX_FORMAT
})
});
var ovcPrimitive =new Cesium.Primitive({
geometryInstances : instance,
appearance : new Cesium.EllipsoidSurfaceAppearance({
})
});
var layers = viewer.scene.imageryLayers;
var blackMarble = layers.addImageryProvider(???);//???
I want to change the alpha of my instance for fade in and fade out.
My question is how my instance can be considered as a layer? I mean how I can pass my instance to layers.addImageryProvider.
Thanks
2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
4. The Cesium version you’re using, your operating system and browser.