示例#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);
        }
示例#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);
    }