C# Class RTSEngine.Graphics.ParticleEffect

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

Méthodes publiques

Свойство Type Description
DEFAULT_OFFSET Vector2
DEFAULT_RATES Vector3
DEFAULT_SCALES Vector3

Méthodes publiques

Méthode Description
ApplyAlert ( GraphicsDevice g, Microsoft.Xna.Framework.Graphics.Texture2D tColor ) : void
ApplyFire ( GraphicsDevice g, Microsoft.Xna.Framework.Graphics.Texture2D tColor, Microsoft.Xna.Framework.Graphics.Texture2D tNoise, Microsoft.Xna.Framework.Graphics.Texture2D tAlpha ) : void
ApplyLightning ( GraphicsDevice g, Microsoft.Xna.Framework.Graphics.Texture2D tColor ) : void
ApplySimple ( GraphicsDevice g, Microsoft.Xna.Framework.Graphics.Texture2D tColor ) : void
ParticleEffect ( Effect _fx, ParticleEffectConfig conf ) : System
SetupBasic ( GraphicsDevice g, Matrix mVP, float t, Microsoft.Xna.Framework.Graphics.Texture2D tFOW ) : void

Method Details

ApplyAlert() public méthode

public ApplyAlert ( GraphicsDevice g, Microsoft.Xna.Framework.Graphics.Texture2D tColor ) : void
g GraphicsDevice
tColor Microsoft.Xna.Framework.Graphics.Texture2D
Résultat void

ApplyFire() public méthode

public ApplyFire ( GraphicsDevice g, Microsoft.Xna.Framework.Graphics.Texture2D tColor, Microsoft.Xna.Framework.Graphics.Texture2D tNoise, Microsoft.Xna.Framework.Graphics.Texture2D tAlpha ) : void
g GraphicsDevice
tColor Microsoft.Xna.Framework.Graphics.Texture2D
tNoise Microsoft.Xna.Framework.Graphics.Texture2D
tAlpha Microsoft.Xna.Framework.Graphics.Texture2D
Résultat void

ApplyLightning() public méthode

public ApplyLightning ( GraphicsDevice g, Microsoft.Xna.Framework.Graphics.Texture2D tColor ) : void
g GraphicsDevice
tColor Microsoft.Xna.Framework.Graphics.Texture2D
Résultat void

ApplySimple() public méthode

public ApplySimple ( GraphicsDevice g, Microsoft.Xna.Framework.Graphics.Texture2D tColor ) : void
g GraphicsDevice
tColor Microsoft.Xna.Framework.Graphics.Texture2D
Résultat void

ParticleEffect() public méthode

public ParticleEffect ( Effect _fx, ParticleEffectConfig conf ) : System
_fx Microsoft.Xna.Framework.Graphics.Effect
conf ParticleEffectConfig
Résultat System

SetupBasic() public méthode

public SetupBasic ( 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

Property Details

DEFAULT_OFFSET public_oe static_oe property

public static Vector2 DEFAULT_OFFSET
Résultat Vector2

DEFAULT_RATES public_oe static_oe property

public static Vector3 DEFAULT_RATES
Résultat Vector3

DEFAULT_SCALES public_oe static_oe property

public static Vector3 DEFAULT_SCALES
Résultat Vector3