C# Class spaceconquest.StarField

Datei anzeigen Open project: cclay/spaceconquest Class Usage Examples

Public Properties

Property Type Description
star Model

Public Methods

Method Description
Draw ( Matrix world, Matrix view, Matrix projection ) : void
LoadStarModel ( Model m ) : void
StarField ( int n ) : System

Private Methods

Method Description
nrand ( int i ) : int

Method Details

Draw() public method

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

LoadStarModel() public static method

public static LoadStarModel ( Model m ) : void
m Microsoft.Xna.Framework.Graphics.Model
return void

StarField() public method

public StarField ( int n ) : System
n int
return System

Property Details

star public_oe static_oe property

public static Model star
return Model