I'm using Cesium 1.5, and I'm trying to select a billboard like so:
- set up a new ScreenSpaceEventHandler
- give it this input action:
function(event){
viewer.selectedEntity.billboard.rotation = 30.0;
console.log(viewer.selectedEntity.billboard);
}
So when I click on the billboard, it appears in the console with the change I made. Then Cesium produces an error message: TypeError: property.getValue is not a function.
For the record this happens no matter what property I try to change. Scale, color, everything causes a TypeError. Am I using incorrect syntax to get the billboard, maybe? I don't know why it doesn't seem to like rendering the change I've made.