C# Class Project2.GameObjects.HeightMapTerrain

Inheritance: Terrain
Afficher le fichier Open project: nuclearpidgeon/graphicsproj2

Méthodes publiques

Méthode Description
HeightMapTerrain ( Project2Game game, System.Vector3 position, Texture2D heightMap, float xScale, float zScale ) : System

Méthodes protégées

Méthode Description
GeneratePhysicsDescription ( ) : Jitter.Dynamics.RigidBody
GenerateTerrainData ( ) : ].float[

Process a heightmap into a 2D array of integers representing the terrain data. Set the terrain object's height and width parameters.

Method Details

GeneratePhysicsDescription() protected méthode

protected GeneratePhysicsDescription ( ) : Jitter.Dynamics.RigidBody
Résultat Jitter.Dynamics.RigidBody

GenerateTerrainData() protected méthode

Process a heightmap into a 2D array of integers representing the terrain data. Set the terrain object's height and width parameters.
protected GenerateTerrainData ( ) : ].float[
Résultat ].float[

HeightMapTerrain() public méthode

public HeightMapTerrain ( Project2Game game, System.Vector3 position, Texture2D heightMap, float xScale, float zScale ) : System
game Project2Game
position System.Vector3
heightMap Texture2D
xScale float
zScale float
Résultat System