C# Class CrisisAtSwissStation.PolygonDrawer

Inheritance: IDisposable
Afficher le fichier Open project: danielpcox/Crisis-at-Swiss-Station Class Usage Examples

Protected Properties

Свойство Type Description
decl Microsoft.Xna.Framework.Graphics.VertexDeclaration
effect Microsoft.Xna.Framework.Graphics.BasicEffect

Méthodes publiques

Méthode Description
Dispose ( ) : void
DrawPolygons ( Vector2 position, float angle, float scale, Microsoft.Xna.Framework.Graphics.Texture2D texture, VertexPositionTexture vertices, BlendState blendMode ) : void
PolygonDrawer ( GraphicsDevice device, int width, int height ) : System

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

DrawPolygons() public méthode

public DrawPolygons ( Vector2 position, float angle, float scale, Microsoft.Xna.Framework.Graphics.Texture2D texture, VertexPositionTexture vertices, BlendState blendMode ) : void
position Vector2
angle float
scale float
texture Microsoft.Xna.Framework.Graphics.Texture2D
vertices Microsoft.Xna.Framework.Graphics.VertexPositionTexture
blendMode Microsoft.Xna.Framework.Graphics.BlendState
Résultat void

PolygonDrawer() public méthode

public PolygonDrawer ( GraphicsDevice device, int width, int height ) : System
device GraphicsDevice
width int
height int
Résultat System

Property Details

decl protected_oe property

protected VertexDeclaration,Microsoft.Xna.Framework.Graphics decl
Résultat Microsoft.Xna.Framework.Graphics.VertexDeclaration

effect protected_oe property

protected BasicEffect,Microsoft.Xna.Framework.Graphics effect
Résultat Microsoft.Xna.Framework.Graphics.BasicEffect