Beispiel #1
0
        protected override EffectTypeModuleData CreateInstanceForClone()
        {
            FireworksData result = new FireworksData
            {
                Velocity             = Velocity,
                MinVelocity          = MinVelocity,
                MaxVelocity          = MaxVelocity,
                LevelCurve           = new Curve(LevelCurve),
                ParticleFade         = ParticleFade,
                RandomParticles      = RandomParticles,
                Explosions           = Explosions,
                ColorType            = ColorType,
                Particles            = Particles,
                MinParticles         = MinParticles,
                MaxParticles         = MaxParticles,
                Sensitivity          = Sensitivity,
                RandomVelocity       = RandomVelocity,
                ColorGradients       = ColorGradients.ToList(),
                LowPass              = LowPass,
                LowPassFreq          = LowPassFreq,
                HighPass             = HighPass,
                HighPassFreq         = HighPassFreq,
                Normalize            = Normalize,
                DecayTime            = DecayTime,
                AttackTime           = AttackTime,
                ExplosionSensitivity = ExplosionSensitivity,
                MarkCollectionId     = MarkCollectionId,
                FireworksSource      = FireworksSource
            };

            return(result);
        }
Beispiel #2
0
		public override IModuleDataModel Clone()
		{
			FireworksData result = new FireworksData
			{
				Velocity = Velocity,
				LevelCurve = new Curve(LevelCurve),
				ParticleFade = ParticleFade,
				Explosions = Explosions,
				Particles = Particles,
				Speed = Speed,
				Colors = Colors.ToList()
			};
			return result;
		}
Beispiel #3
0
        public override IModuleDataModel Clone()
        {
            FireworksData result = new FireworksData
            {
                Velocity     = Velocity,
                LevelCurve   = new Curve(LevelCurve),
                ParticleFade = ParticleFade,
                Explosions   = Explosions,
                Particles    = Particles,
                Speed        = Speed,
                Colors       = Colors.ToList()
            };

            return(result);
        }
Beispiel #4
0
 public Fireworks()
 {
     _data           = new FireworksData();
     _audioUtilities = new AudioUtilities();
 }
Beispiel #5
0
 public Fireworks()
 {
     _data = new FireworksData();
 }
Beispiel #6
0
 public Fireworks()
 {
     _data = new FireworksData();
 }
Beispiel #7
0
 protected override EffectTypeModuleData CreateInstanceForClone()
 {
     FireworksData result = new FireworksData
     {
         Velocity = Velocity,
         MinVelocity = MinVelocity,
         MaxVelocity = MaxVelocity,
         LevelCurve = new Curve(LevelCurve),
         ParticleFade = ParticleFade,
         RandomParticles = RandomParticles,
         Explosions = Explosions,
         ColorType = ColorType,
         Particles = Particles,
         MinParticles = MinParticles,
         MaxParticles = MaxParticles,
         RandomVelocity = RandomVelocity,
         ColorGradients = ColorGradients.ToList(),
     };
     return result;
 }
Beispiel #8
0
 protected override EffectTypeModuleData CreateInstanceForClone()
 {
     FireworksData result = new FireworksData
     {
         Velocity = Velocity,
         MinVelocity = MinVelocity,
         MaxVelocity = MaxVelocity,
         LevelCurve = new Curve(LevelCurve),
         ParticleFade = ParticleFade,
         RandomParticles = RandomParticles,
         Explosions = Explosions,
         ColorType = ColorType,
         Particles = Particles,
         MinParticles = MinParticles,
         MaxParticles = MaxParticles,
         Sensitivity = Sensitivity,
         RandomVelocity = RandomVelocity,
         ColorGradients = ColorGradients.ToList(),
         LowPass = LowPass,
         LowPassFreq = LowPassFreq,
         HighPass = HighPass,
         HighPassFreq = HighPassFreq,
         Normalize = Normalize,
         DecayTime = DecayTime,
         AttackTime = AttackTime,
         ExplosionSensitivity = ExplosionSensitivity,
         EnableAudio = EnableAudio,
     };
     return result;
 }
Beispiel #9
0
 public Fireworks()
 {
     _data = new FireworksData();
     _audioUtilities = new AudioUtilities();
 }