コード例 #1
0
ファイル: Explosion.cs プロジェクト: kayorga/3DSP
 public void Draw(Camera camera)
 {
     graphicsDevice.DepthStencilState = DepthStencilState.DepthRead;
     graphicsDevice.BlendState        = BlendState.Additive;
     billboardEngine.Draw(graphicsDevice, camera);
     graphicsDevice.BlendState        = BlendState.Opaque;
     graphicsDevice.DepthStencilState = DepthStencilState.Default;
     particleEffect.Draw(camera);
 }
コード例 #2
0
 public void draw(Camera camera)
 {
     if (!active)
     {
         return;
     }
     particleEffect.Draw(camera);
     //bulletOb.Draw(camera);
 }