Ejemplo n.º 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);
        }
Ejemplo n.º 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;
		}
Ejemplo n.º 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);
        }
Ejemplo n.º 4
0
 public Fireworks()
 {
     _data           = new FireworksData();
     _audioUtilities = new AudioUtilities();
 }
Ejemplo n.º 5
0
 public Fireworks()
 {
     _data = new FireworksData();
 }
Ejemplo n.º 6
0
 public Fireworks()
 {
     _data = new FireworksData();
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 9
0
 public Fireworks()
 {
     _data = new FireworksData();
     _audioUtilities = new AudioUtilities();
 }