NCParticleSystem

new Cesium.NCParticleSystem(scene, data, options)

netcdf文件的可视化粒子效果显示
Name Type Description
scene Scene
data Object
options Object
Name Type Default Description
maxParticles Number 4096 optional 最大粒子个数
particleHeight Number 100 optional 粒子地表高度
fadeOpacity Number 0.996 optional fadeOpacity
dropRate Number 0.003 optional dropRate
dropRateBump Number 0.01 optional dropRateBump
speedFactor Number 1.0 optional 速度缩放因子
lineWidth Number 4.0 optional 绘制线宽
show Boolean true optional 是否显示
colors Array.<Color> '[Color.BLUE,Color.YELLOW,Color.ORANGE,Color.RED]' optional colors,色带,低速到高速
Example:
const options = {
particlesTextureSize : 64,
maxParticles : 4096,
particleHeight : 100,
fadeOpacity : 0.996,
dropRate : 0.003,
dropRateBump : 0.01,
speedFactor : 1,
lineWidth : 4,
};
const ncParticleSystem = new Cesium.NCParticleSystem(viewer.scene, data, options);
viewer.scene.primitives.add(ncParticleSystem);

Members

用于uniform
用于uniform,取值[0,1)
用于uniform,取值[0,1)
用于uniform,取值范围(0,1)
用于生成纹理和uniform
用于uniform
用于生成纹理和uniform
用于生成纹理
用于uniform
用于uniform
是否显示
用于uniform
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.