Méthode | Description | |
---|---|---|
HeightMapTerrain ( Project2Game game, System.Vector3 position, Texture2D heightMap, float xScale, float zScale ) : System |
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.
|
protected GeneratePhysicsDescription ( ) : Jitter.Dynamics.RigidBody | ||
Résultat | Jitter.Dynamics.RigidBody |
protected GenerateTerrainData ( ) : ].float[ | ||
Résultat | ].float[ |
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 |