C# Class RTSEngine.Graphics.RTSFXEntity

Mostra file Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Public Methods

Method Description
ApplyPassBuilding ( ) : void
ApplyPassUnit ( ) : void
GetEffectPass ( string technique, string pass ) : EffectPass
RTSFXEntity ( Effect _fx ) : System
SetTechnique ( string t ) : void
SetTextures ( GraphicsDevice g, Microsoft.Xna.Framework.Graphics.Texture2D tAnim, Microsoft.Xna.Framework.Graphics.Texture2D tMain, Microsoft.Xna.Framework.Graphics.Texture2D tKey ) : void
SetTexturesBuilding ( GraphicsDevice g, Microsoft.Xna.Framework.Graphics.Texture2D tMain, Microsoft.Xna.Framework.Graphics.Texture2D tKey, Microsoft.Xna.Framework.Graphics.Texture2D tNoise ) : void

Method Details

ApplyPassBuilding() public method

public ApplyPassBuilding ( ) : void
return void

ApplyPassUnit() public method

public ApplyPassUnit ( ) : void
return void

GetEffectPass() public method

public GetEffectPass ( string technique, string pass ) : EffectPass
technique string
pass string
return Microsoft.Xna.Framework.Graphics.EffectPass

RTSFXEntity() public method

public RTSFXEntity ( Effect _fx ) : System
_fx Microsoft.Xna.Framework.Graphics.Effect
return System

SetTechnique() public method

public SetTechnique ( string t ) : void
t string
return void

SetTextures() public method

public SetTextures ( GraphicsDevice g, Microsoft.Xna.Framework.Graphics.Texture2D tAnim, Microsoft.Xna.Framework.Graphics.Texture2D tMain, Microsoft.Xna.Framework.Graphics.Texture2D tKey ) : void
g GraphicsDevice
tAnim Microsoft.Xna.Framework.Graphics.Texture2D
tMain Microsoft.Xna.Framework.Graphics.Texture2D
tKey Microsoft.Xna.Framework.Graphics.Texture2D
return void

SetTexturesBuilding() public method

public SetTexturesBuilding ( GraphicsDevice g, Microsoft.Xna.Framework.Graphics.Texture2D tMain, Microsoft.Xna.Framework.Graphics.Texture2D tKey, Microsoft.Xna.Framework.Graphics.Texture2D tNoise ) : void
g GraphicsDevice
tMain Microsoft.Xna.Framework.Graphics.Texture2D
tKey Microsoft.Xna.Framework.Graphics.Texture2D
tNoise Microsoft.Xna.Framework.Graphics.Texture2D
return void