C# 클래스 RTSEngine.Graphics.ParticleRenderer

파일 보기 프로젝트 열기: RegrowthStudios/VoxelRTS 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

DrawAlerts() 공개 메소드

public DrawAlerts ( GraphicsDevice g ) : void
g GraphicsDevice
리턴 void

DrawBloods() 공개 메소드

public DrawBloods ( GraphicsDevice g ) : void
g GraphicsDevice
리턴 void

DrawBullets() 공개 메소드

public DrawBullets ( GraphicsDevice g ) : void
g GraphicsDevice
리턴 void

DrawFire() 공개 메소드

public DrawFire ( GraphicsDevice g ) : void
g GraphicsDevice
리턴 void

DrawLightning() 공개 메소드

public DrawLightning ( GraphicsDevice g ) : void
g GraphicsDevice
리턴 void

Load() 공개 메소드

public Load ( RTSRenderer renderer, ParticleOptions o ) : void
renderer RTSRenderer
o ParticleOptions
리턴 void

ParticleRenderer() 공개 메소드

public ParticleRenderer ( Effect fx, ParticleEffectConfig peConf ) : System
fx Microsoft.Xna.Framework.Graphics.Effect
peConf ParticleEffectConfig
리턴 System

SetAlerts() 공개 메소드

public SetAlerts ( GraphicsDevice g ) : void
g GraphicsDevice
리턴 void

SetBloods() 공개 메소드

public SetBloods ( GraphicsDevice g ) : void
g GraphicsDevice
리턴 void

SetBullets() 공개 메소드

public SetBullets ( GraphicsDevice g ) : void
g GraphicsDevice
리턴 void

SetFire() 공개 메소드

public SetFire ( GraphicsDevice g ) : void
g GraphicsDevice
리턴 void

SetLightning() 공개 메소드

public SetLightning ( GraphicsDevice g ) : void
g GraphicsDevice
리턴 void

SetupAll() 공개 메소드

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
리턴 void

Update() 공개 메소드

public Update ( List newParticles, float dt ) : void
newParticles List
dt float
리턴 void