粒子代码:
var particleSystem = scene.primitives.add(new Cesium.ParticleSystem({
id : "lalala",
image : './images/fire.png',
。。。。。。。。。
选中后代码:
handler.setInputAction( function( movement )
{
var pick = scene.pick( movement.position );
if (Cesium.defined( pick ))
{
var primitiveInfo = pick.primitive;
}
}, Cesium.ScreenSpaceEventType.LEFT_CLICK );