C# Class RTSEngine.Graphics.ParticleRenderer

Afficher le fichier Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Méthodes publiques

Méthode Description
DrawAlerts ( GraphicsDevice g ) : void
DrawBloods ( GraphicsDevice g ) : void
DrawBullets ( GraphicsDevice g ) : void
DrawFire ( GraphicsDevice g ) : void
DrawLightning ( GraphicsDevice g ) : void
Load ( RTSRenderer renderer, ParticleOptions o ) : void
ParticleRenderer ( Effect fx, ParticleEffectConfig peConf ) : System
SetAlerts ( GraphicsDevice g ) : void
SetBloods ( GraphicsDevice g ) : void
SetBullets ( GraphicsDevice g ) : void
SetFire ( GraphicsDevice g ) : void
SetLightning ( GraphicsDevice g ) : void
SetupAll ( GraphicsDevice g, Matrix mVP, float t, Microsoft.Xna.Framework.Graphics.Texture2D tFOW ) : void
Update ( List newParticles, float dt ) : void

Private Methods

Méthode Description
BuildAlertModel ( RTSRenderer renderer ) : void
BuildBloodModel ( RTSRenderer renderer ) : void
BuildFireModel ( RTSRenderer renderer, int div ) : void
BuildLightningModel ( RTSRenderer renderer ) : void
LoadBulletModel ( RTSRenderer renderer, Stream s, ParsingFlags pf = ParsingFlags.ConversionOpenGL ) : void
LoadBulletTexture ( RTSRenderer renderer, string f ) : void
LoadFireShader ( RTSRenderer renderer, string fNoise, string fColor, string fAlpha ) : void
LoadLightningShader ( RTSRenderer renderer, string fLMap, int splits ) : void

Method Details

DrawAlerts() public méthode

public DrawAlerts ( GraphicsDevice g ) : void
g GraphicsDevice
Résultat void

DrawBloods() public méthode

public DrawBloods ( GraphicsDevice g ) : void
g GraphicsDevice
Résultat void

DrawBullets() public méthode

public DrawBullets ( GraphicsDevice g ) : void
g GraphicsDevice
Résultat void

DrawFire() public méthode

public DrawFire ( GraphicsDevice g ) : void
g GraphicsDevice
Résultat void

DrawLightning() public méthode

public DrawLightning ( GraphicsDevice g ) : void
g GraphicsDevice
Résultat void

Load() public méthode

public Load ( RTSRenderer renderer, ParticleOptions o ) : void
renderer RTSRenderer
o ParticleOptions
Résultat void

ParticleRenderer() public méthode

public ParticleRenderer ( Effect fx, ParticleEffectConfig peConf ) : System
fx Microsoft.Xna.Framework.Graphics.Effect
peConf ParticleEffectConfig
Résultat System

SetAlerts() public méthode

public SetAlerts ( GraphicsDevice g ) : void
g GraphicsDevice
Résultat void

SetBloods() public méthode

public SetBloods ( GraphicsDevice g ) : void
g GraphicsDevice
Résultat void

SetBullets() public méthode

public SetBullets ( GraphicsDevice g ) : void
g GraphicsDevice
Résultat void

SetFire() public méthode

public SetFire ( GraphicsDevice g ) : void
g GraphicsDevice
Résultat void

SetLightning() public méthode

public SetLightning ( GraphicsDevice g ) : void
g GraphicsDevice
Résultat void

SetupAll() public méthode

public SetupAll ( GraphicsDevice g, Matrix mVP, float t, Microsoft.Xna.Framework.Graphics.Texture2D tFOW ) : void
g GraphicsDevice
mVP Matrix
t float
tFOW Microsoft.Xna.Framework.Graphics.Texture2D
Résultat void

Update() public méthode

public Update ( List newParticles, float dt ) : void
newParticles List
dt float
Résultat void