C# Class Terraria.Graphics.Effects.SimpleOverlay

Inheritance: Overlay
显示文件 Open project: EmuDevs/EDTerraria

Public Properties

Property Type Description
TargetPosition Vector2

Public Methods

Method Description
Draw ( SpriteBatch spriteBatch ) : void
SimpleOverlay ( string textureName, ScreenShaderData shader, EffectPriority priority = EffectPriority.VeryLow ) : Microsoft.Xna.Framework
SimpleOverlay ( string textureName, string shaderName = "Default", EffectPriority priority = EffectPriority.VeryLow ) : Microsoft.Xna.Framework

Private Methods

Method Description
Activate ( Vector2 position ) : void
Deactivate ( ) : void

Method Details

Draw() public method

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

SimpleOverlay() public method

public SimpleOverlay ( string textureName, ScreenShaderData shader, EffectPriority priority = EffectPriority.VeryLow ) : Microsoft.Xna.Framework
textureName string
shader Terraria.Graphics.Shaders.ScreenShaderData
priority EffectPriority
return Microsoft.Xna.Framework

SimpleOverlay() public method

public SimpleOverlay ( string textureName, string shaderName = "Default", EffectPriority priority = EffectPriority.VeryLow ) : Microsoft.Xna.Framework
textureName string
shaderName string
priority EffectPriority
return Microsoft.Xna.Framework

Property Details

TargetPosition public_oe property

public Vector2 TargetPosition
return Vector2