Пример #1
0
 /// <summary>
 /// Adds a particle manipulator to the system.
 /// </summary>
 /// <param name="manipulator"></param>
 public void Add(IParticleManipulator manipulator)
 {
     m_Manipulators.Add(manipulator);
 }
Пример #2
0
 /// <summary>
 /// Adds a particle manipulator to the system.
 /// </summary>
 /// <param name="manipulator"></param>
 public void Add(IParticleManipulator manipulator)
 {
     m_Manipulators.Add(manipulator);
 }
Пример #3
0
 /// <summary>
 /// Creates an empty particle system with one particle manipulator.
 /// </summary>
 /// <param name="manipulator">The manipulator to use with this particle system.</param>
 public ParticleSystem(IParticleManipulator manipulator)
 {
     m_Manipulators = new ParticleManipulatorCollection();
     m_Manipulators.Add(manipulator);
     m_Particles = new ParticleCollection();
 }
Пример #4
0
 /// <summary>
 /// Creates an empty particle system with one particle manipulator.
 /// </summary>
 /// <param name="manipulator">The manipulator to use with this particle system.</param>
 public ParticleSystem(IParticleManipulator manipulator)
 {
     m_Manipulators = new ParticleManipulatorCollection();
     m_Manipulators.Add(manipulator);
     m_Particles = new ParticleCollection();
 }