Hi,
Im attempting to scale my .gltf model disproportionately to enhance the scale in Y axis but the compiler doesnt like it. Ive tried the followoing code snippets which fail:
const entity = viewer.entities.add({
position: position,
orientation: orientation,
model: {
uri: resource,
scale: [ 7.0, 10.0, 7.0 ]
},
});
const entity = viewer.entities.add({
position: position,
orientation: orientation,
model: {
uri: resource,
scale: new Cesium.Cartesian3(7.0, 10.0, 7.0);
},
});
Seems clear its not syntax but more to do with the compiler, any ideas?