Пример #1
0
 /// <summary>
 /// Mask drawing for a specified particle type (enable or disable drawing of the particle type in the particle system)
 /// </summary>
 /// <param name="particleType"></param>
 /// <param name="draw"></param>
 public void SetParticleTypeDrawMask(Xen.Ex.Graphics.Content.ParticleSystemTypeData particleType, bool draw)
 {
     ParticleDrawer2DElement.SetParticleTypeDrawMask(ref this.drawMask, this.system, particleType, draw);
 }
Пример #2
0
 static internal void SetParticleTypeDrawMask(ref uint mask, ParticleSystem system, Xen.Ex.Graphics.Content.ParticleSystemTypeData particleType, bool draw)
 {
     if (particleType == null)
     {
         throw new ArgumentNullException();
     }
     SetParticleTypeDrawMask(ref mask, system, particleType.Name, draw);
 }