Property | Type | Description | |
---|---|---|---|
BAD_POSITION | Vector3 | ||
counter | double | ||
lightDirection | Vector3 | ||
oldTime | double |
Method | Description | |
---|---|---|
Terrain ( GraphicsDevice device, Microsoft.Xna.Framework.Content.ContentManager content, |
||
finaliseBuffers ( ) : void | ||
initialise ( ) : void | ||
loadContent ( ) : void | ||
projectToScreen ( Vector3 worldPoint ) : Vector3 | ||
projectToTerrain ( int mouseX, int mouseY ) : Vector3 | ||
render ( |
Method | Description | |
---|---|---|
setUpIndices ( ) : void | ||
setUpNormals ( ) : void | ||
setUpVertices ( ) : void |
public Terrain ( GraphicsDevice device, Microsoft.Xna.Framework.Content.ContentManager content, |
||
device | GraphicsDevice | |
content | Microsoft.Xna.Framework.Content.ContentManager | |
levelInfo | ||
camera | ||
return | System |
public projectToScreen ( Vector3 worldPoint ) : Vector3 | ||
worldPoint | Vector3 | |
return | Vector3 |
public projectToTerrain ( int mouseX, int mouseY ) : Vector3 | ||
mouseX | int | |
mouseY | int | |
return | Vector3 |