private void Copy(ParticleGenerator other) { m_Flush = other.m_Flush; m_Discard = other.m_Discard; m_sTexture = other.m_sTexture; m_Method = other.m_Method; m_fRate = other.m_fRate; m_EmitAccel = other.m_EmitAccel; m_EmitSpeed = other.m_EmitSpeed; m_EmitAccelModulate = other.m_EmitAccelModulate; m_EmitSpeedModulate = other.m_EmitSpeedModulate; m_EmitPositionModulate = other.m_EmitPositionModulate; Rotation = other.Rotation; Position = other.Position; m_PointSize = other.m_PointSize; m_PointSizeMin = other.m_PointSizeMin; m_PointScaleA = other.m_PointScaleA; m_PointScaleB = other.m_PointScaleB; m_PointScaleC = other.m_PointScaleC; m_bValid = other.m_bValid; }
/// <Summary>copy constructor</Summary> public ParticleGenerator(string Name, ParticleGenerator other) : base(Name) { Copy(other); }