public override void InicializarParticulas() { SplashPart p; int i; Vector3 dire; int tex; for (i = 0; i < (this.ParticlesAmount); i++) { dire = this.RandVec3(); tex = r.Next(0, this.Textures.Count); p = new SplashPart(this.InitCoords, this.Speed, this.Acceleration, dire, this.InitialColor, this.InitialAlpha, this.PointSizeMin, this.TimeToLive_Particle, this.Textures[tex]); this.Particles.Add(p); p.Index_ParticleVertex = i; this.ParticlesVertex.Add(p.CV_PositionColored); } }