Example #1
0
        public DepthSortingSample(Microsoft.Xna.Framework.Game game)
            : base(game)
        {
            _brownOut = new BrownOut(ContentManager);
            ParticleSystemService.ParticleSystems.Add(_brownOut);

            _particleSystemNode = new ParticleSystemNode(_brownOut);
            GraphicsScreen.Scene.Children.Add(_particleSystemNode);
        }
Example #2
0
    public DepthSortingSample(Microsoft.Xna.Framework.Game game)
      : base(game)
    {
      _brownOut = new BrownOut(ContentManager);
      ParticleSystemService.ParticleSystems.Add(_brownOut);

      _particleSystemNode = new ParticleSystemNode(_brownOut);
      GraphicsScreen.Scene.Children.Add(_particleSystemNode);
    }