var positions = new Cesium.SampledPositionProperty();
positions.addSample(startTime, Cesium.Cartesian3.fromDegrees(118.881947, 42.273646, 588.871601));
viewer.entities.add({
id: "test",
position: positions,
orientation: orientation,
model: {
uri: './SuperMapAPI/SampleData/gltf/man/walk.gltf',
scale: 2
},
viewFrom: new Cesium.Cartesian3(9, -15, 3),
path: {
resolution: 1,
material: new Cesium.PolylineGlowMaterialProperty({
glowPower: 0.1,
color: Cesium.Color.RED
}),
width: 10
}
});
https://www.jianshu.com/p/bdf397685e8b <-- 基本上就是照这个写的代码
1.按以上代码添加的gltf,有没有在gltf按轨迹运行的途中实现类似飞行功能的gltf暂停和继续运行的功能
2.问一下是否根据以上代码这个id获得地理坐标的方法
3.是否能够知道gltf运行到了addSample下的某个节点