Exemple #1
0
        ///<summary>Create particle system from prepared parameters</summary>
        public ParticleSystem(EmitterParameters parameters, IParticleProvider provider)
        {
            if (null == parameters) throw new ArgumentNullException("parameters");

            m_Provider = provider;
            m_Emitter = parameters;
        }
Exemple #2
0
 ///<summary>Create default particle system</summary>
 public ParticleSystem(IParticleProvider provider)
 {
     m_Provider = provider;
     m_Emitter = new EmitterParameters();
 }