Axiom.ParticleSystems.ParticleEmitter.CopyTo C# (CSharp) Method

CopyTo() public method

public CopyTo ( ParticleEmitter emitter ) : void
emitter ParticleEmitter
return void
		public virtual void CopyTo( ParticleEmitter emitter )
		{
			// loop through all registered commands and copy from this instance to the target instance
			foreach ( string key in commandTable.Keys )
			{
				// get the value of the param from this instance
				string val = ( (IPropertyCommand)commandTable[ key ] ).Get( this );

				// set the param on the target instance
				emitter.SetParam( key, val );
			}
		}