Hey, everybody. I need to make smooth scaling for ImageMaterialProperty. Here is my code where I create Entity:
let plane = new Entity({
position: position,
orientation: orientation,
properties: {
type: 'icon'
},
parent: airObj,
name: 'Icon',
plane: {
show: true,
plane: new Plane(Cartesian3.UNIT_Z, 0.0),
dimensions: new Cartesian2(30000.0, 30000.0),
material: new ImageMaterialProperty({
image: airs,
transparent: true,
}),
}
})
Thanks in advance for your advice and help!