Hello!
I want to highlight model depend on the positon. My czml data format is as follows. I use silhouetteColor to highlight. I do not know how to change the model highlight status when positon change.
How can i do this? Can someone give me some advice?
{
"id": "Aircraft/Aircraft2",
"name": "Aircraft2",
"availability": "2020-08-27T000000Z/2020-08-27T010000Z",
"model": {
"gltf": "./Models/CesiumDrone.gltf",
"minimumPixelSize": 80,
"silhouetteSize": 4,
"silhouetteColor": {
"rgba": [
0,
255,
255,
255
]
}
},
"path": {
"show": [
{
"interval": "2020-08-27T000000Z/2020-08-27T010000Z",
"pathShow": true
}
],
"width": 1,
"material": {
"solidColor": {
"color": {
"rgba": [
0,
255,
255,
255
]
}
}
},
"resolution": 1200,
"leadTime": 1
},
"position": {
"interpolationAlgorithm": "LAGRANGE",
"interpolationDegree": 1,
"epoch": "2020-08-27T000000Z",
"cartesian": [
1,
1334240,
-4653485,
4139330,
2,
1334255,
-4653485,
4139330,
3,
1334270,
-4653485,
4139330,
4,
1334285,
-4653485,
4139330,
5,
1334300,
-4653485,
4139330,
6,
1334300,
-4653500,
4139330,
7,
1334315,
-4653500,
4139330,
8,
1334330,
-4653500,
4139330,
9,
1334345,
-4653500,
4139330,
10,
1334360,
-4653500,
4139330
]
}
}