Idk how to add this outline
entities.add({
position: Cesium.Cartesian3.fromRadians(-2.14804850,0.768824003693717),
model:{
uri: “…/SampleData/models/GroundVehicle/GroundVehicle.glb”},
outline: true,
outlineColor: Cesium.Color.GREEN,
});
It doesn’t work but if i do the same with polygons or circles it does.
Hi there,
I think you are looking for the silhouetteSize
and silhouetteColor
properties.
Hello
Thank you for your answer
I’ve already found that out, but still have some issues: I have to make an outline on lmb and remove it on rmb, but I cannot apply it for 2 or more entities.
Sorry for my bad English, I’m just a Russian student and l just started earning Cesium)
I hope it’s allowed here to place pastebin links, so here is my code: const viewer = new Cesium.Viewer(“cesiumContainer”, { infoBox: false, sele - Pastebin.com
As far as I get, I should remember somehow the entity I choose, but I don’t know how to.
You are looking to click on an entity and select it, correct?
The Picking example shows how to to that.
Yes. you are right, although I tried to change the models before from given NY tileset to 2 cars( just for example) and it doesn’t work at all.
// A simple demo of 3D Tiles feature picking with hover and select behavior// - Pastebin.com
That’s why I tried to make a new one I’ve sent you in previous message, at least I can finally change silhouetteSize and color, but I cannot work with 2 or more entities