C# Class RTSEngine.Graphics.ParticleEffect

Mostrar archivo Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Public Properties

Property Type Description
DEFAULT_OFFSET Vector2
DEFAULT_RATES Vector3
DEFAULT_SCALES Vector3

Public Methods

Method 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 method

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

ApplyFire() public method

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
return void

ApplyLightning() public method

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

ApplySimple() public method

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

ParticleEffect() public method

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

SetupBasic() public method

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
return void

Property Details

DEFAULT_OFFSET public_oe static_oe property

public static Vector2 DEFAULT_OFFSET
return Vector2

DEFAULT_RATES public_oe static_oe property

public static Vector3 DEFAULT_RATES
return Vector3

DEFAULT_SCALES public_oe static_oe property

public static Vector3 DEFAULT_SCALES
return Vector3