Свойство | Тип | Описание | |
---|---|---|---|
DetailDistance | float | ||
DetailTexture | Microsoft.Xna.Framework.Graphics.Texture2D | ||
DetailTextureTiling | float | ||
RTexture | Microsoft.Xna.Framework.Graphics.Texture2D |
Метод | Описание | |
---|---|---|
Draw ( ) : void | ||
Draw ( |
This method renders the current state.
|
|
GetHeightAtPosition ( float X, float Z ) : float | ||
GetHeightAtPosition ( float X, float Z, float &Steepness ) : float | ||
SetClipPlane ( Vector4 Plane ) : void | ||
Terrain ( Game game, |
||
Update ( |
Метод | Описание | |
---|---|---|
createIndices ( ) : void | ||
createVertices ( ) : void | ||
genNormals ( ) : void | ||
getHeights ( ) : void |
public Draw ( |
||
gameTime | The elapsed game time. | |
Результат | void |
public GetHeightAtPosition ( float X, float Z ) : float | ||
X | float | |
Z | float | |
Результат | float |
public GetHeightAtPosition ( float X, float Z, float &Steepness ) : float | ||
X | float | |
Z | float | |
Steepness | float | |
Результат | float |
public SetClipPlane ( Vector4 Plane ) : void | ||
Plane | Vector4 | |
Результат | void |
public Terrain ( Game game, |
||
game | Game | |
camera | ||
HeightMap | Microsoft.Xna.Framework.Graphics.Texture2D | |
CellSize | float | |
Height | float | |
BaseTexture | Microsoft.Xna.Framework.Graphics.Texture2D | |
TextureTiling | float | |
LightDirection | Vector3 | |
Результат | System |
public Update ( |
||
gameTime | ||
Результат | void |
public Texture2D,Microsoft.Xna.Framework.Graphics DetailTexture | ||
Результат | Microsoft.Xna.Framework.Graphics.Texture2D |