C# Class spaceconquest.HexModel

Exibir arquivo Open project: cclay/spaceconquest

Public Properties

Property Type Description
basicEffect Microsoft.Xna.Framework.Graphics.BasicEffect
color Color
radius int
spacing int

Public Methods

Method Description
Dispose ( ) : void

Frees resources used by this object.

Draw ( Effect effect ) : void
Draw ( Matrix world, Matrix view, Matrix projection, Color newcolor ) : void
InitializePrimitive ( GraphicsDevice graphicsDevice ) : void

Method Details

Dispose() public static method

Frees resources used by this object.
public static Dispose ( ) : void
return void

Draw() public static method

public static Draw ( Effect effect ) : void
effect Microsoft.Xna.Framework.Graphics.Effect
return void

Draw() public static method

public static Draw ( Matrix world, Matrix view, Matrix projection, Color newcolor ) : void
world Matrix
view Matrix
projection Matrix
newcolor Color
return void

InitializePrimitive() public static method

public static InitializePrimitive ( GraphicsDevice graphicsDevice ) : void
graphicsDevice GraphicsDevice
return void

Property Details

basicEffect public_oe static_oe property

public static BasicEffect,Microsoft.Xna.Framework.Graphics basicEffect
return Microsoft.Xna.Framework.Graphics.BasicEffect

color public_oe static_oe property

public static Color color
return Color

radius public_oe static_oe property

public static int radius
return int

spacing public_oe static_oe property

public static int spacing
return int