public virtual void CopyTo( ParticleAffector affector )
{
// 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
affector.SetParam( key, val );
}
}