iobject .net 9D雨雪等粒子特效如何控制速度等属性

0 投票

如何控制速度、大小、浓度等属性 

Point3D point1_snow = new Point3D(115.304587172247, 33.5369938278162, 0);
Point3D point2_snow = new Point3D(115.425584374423, 33.5369938278162, 0);
Point3D point3_snow = new Point3D(115.571038585143, 32.9958618956183, 0);
Point3D point4_snow = new Point3D(115.17235176329, 32.9958618956183, 0);
Point3D[] points_snow = new Point3D[] { point1_snow, point2_snow, point3_snow, point4_snow };
Point3Ds point3ds_snow = new Point3Ds(points_snow);
GeoRegion3D geoRegion3D_snow = new GeoRegion3D(point3ds_snow);
GeoParticle snow = new GeoParticle(ParticleType.Snow, geoRegion3D_snow);
GeoStyle3D particleStyle = new GeoStyle3D();
particleStyle.AltitudeMode = AltitudeMode.Absolute;
snow.Style3D = particleStyle;
Point3D position = snow.Position;
// 默认在1000米处添加雨雪粒子
// Add the rain and snow particles in 1000 meters by default
position.Z = 1000;
snow.Position = position;
m_sceneCtrl.Scene.TrackingLayer.Add(snow, "snow");

5月 17 分类:  33次浏览 | 用户: 碎碎念的安静 初出茅庐 (36 分)

1个回答

0 投票
 
已采纳
ParticleEmitter

粒子发射器一个用来发射粒子的“装置”,从发射器中发射出来的粒子的速率、速度以及方向等都可以通过该类对象进行设置。

一个粒子系统包含多个粒子发射器。

5月 17 用户: 程逸诗 名扬四海 (4,332 分)
采纳于 5月 20 用户:碎碎念的安静
...