C# Class TEditXna.View.WorldRenderXna

Interaction logic for WorldRenderXna.xaml
Inheritance: System.Windows.Controls.UserControl
Afficher le fichier Open project: TEdit/Terraria-Map-Editor

Méthodes publiques

Méthode Description
CenterOnTile ( int x, int y ) : void
WorldRenderXna ( ) : System
Zoom ( int direction ) : void

Private Methods

Méthode Description
Check2DFrustrum ( int tileIndex ) : bool
ClampScroll ( ) : void
DrawGrid ( ) : void
DrawNpcOverlay ( TEditXNA.Terraria.NPC npc ) : void
DrawNpcTexture ( TEditXNA.Terraria.NPC npc ) : void
DrawPixelTiles ( ) : void
DrawPoints ( ) : void
DrawSelection ( ) : void
DrawSprites ( ) : void
DrawToolPreview ( ) : void
GenPixelTiles ( TEdit.UI.Xaml.XnaContentHost.GraphicsDeviceEventArgs e ) : void
GetNpcLocation ( int x, int y, int width, int height ) : Vector2
GetOverlayLocation ( int x, int y ) : Vector2
GetTileMouseState ( TEdit.UI.Xaml.XnaContentHost.HwndMouseEventArgs e ) : TEditXna.Editor.TileMouseState
GetViewingArea ( ) : Rectangle
InitializeGraphicsComponents ( TEdit.UI.Xaml.XnaContentHost.GraphicsDeviceEventArgs e ) : void
LoadResourceTextures ( TEdit.UI.Xaml.XnaContentHost.GraphicsDeviceEventArgs e ) : void
LoadTerrariaTextures ( TEdit.UI.Xaml.XnaContentHost.GraphicsDeviceEventArgs e ) : void
PointToVector2 ( Point point ) : Vector2
PreviewChanged ( object sender, EventArgs e ) : void
Render ( TEdit.UI.Xaml.XnaContentHost.GraphicsDeviceEventArgs e ) : void
ScrollBar_Scroll ( object sender, System e ) : void
ScrollWorld ( ) : void
TileOrigin ( int tileX, int tileY ) : Vector2
TrackUV ( int num ) : Vector2Int32
Update ( TEdit.UI.Xaml.XnaContentHost.GraphicsDeviceEventArgs e ) : void
UpdatePreview ( ) : void
_wvm_PropertyChanged ( object sender, System e ) : void
_wvm_RequestScroll ( object sender, TEdit e ) : void
_wvm_RequestZoom ( object sender, TEdit e ) : void
xnaViewport_HwndLButtonDown ( object sender, TEdit.UI.Xaml.XnaContentHost.HwndMouseEventArgs e ) : void
xnaViewport_HwndLButtonUp ( object sender, TEdit.UI.Xaml.XnaContentHost.HwndMouseEventArgs e ) : void
xnaViewport_HwndMButtonDown ( object sender, TEdit.UI.Xaml.XnaContentHost.HwndMouseEventArgs e ) : void
xnaViewport_HwndMButtonUp ( object sender, TEdit.UI.Xaml.XnaContentHost.HwndMouseEventArgs e ) : void
xnaViewport_HwndMouseEnter ( object sender, TEdit.UI.Xaml.XnaContentHost.HwndMouseEventArgs e ) : void
xnaViewport_HwndMouseLeave ( object sender, TEdit.UI.Xaml.XnaContentHost.HwndMouseEventArgs e ) : void
xnaViewport_HwndMouseMove ( object sender, TEdit.UI.Xaml.XnaContentHost.HwndMouseEventArgs e ) : void
xnaViewport_HwndMouseWheel ( object sender, TEdit.UI.Xaml.XnaContentHost.HwndMouseEventArgs e ) : void
xnaViewport_HwndRButtonDown ( object sender, TEdit.UI.Xaml.XnaContentHost.HwndMouseEventArgs e ) : void
xnaViewport_HwndRButtonUp ( object sender, TEdit.UI.Xaml.XnaContentHost.HwndMouseEventArgs e ) : void
xnaViewport_LoadContent ( object sender, TEdit.UI.Xaml.XnaContentHost.GraphicsDeviceEventArgs e ) : void
xnaViewport_RenderXna ( object sender, TEdit.UI.Xaml.XnaContentHost.GraphicsDeviceEventArgs e ) : void
xnaViewport_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void

Method Details

CenterOnTile() public méthode

public CenterOnTile ( int x, int y ) : void
x int
y int
Résultat void

WorldRenderXna() public méthode

public WorldRenderXna ( ) : System
Résultat System

Zoom() public méthode

public Zoom ( int direction ) : void
direction int
Résultat void