C# Class Project2.GameObjects.FlatTerrain

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

Méthodes publiques

Méthode Description
FlatTerrain ( Project2Game game, System.Vector3 position, float xScale, float zScale, float frontHeight = 0.0f, float backHeight = 0.0f ) : System

Constructs a flat terrain

Méthodes protégées

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

Private Methods

Méthode Description
SetColour ( ) : void

Method Details

FlatTerrain() public méthode

Constructs a flat terrain
public FlatTerrain ( Project2Game game, System.Vector3 position, float xScale, float zScale, float frontHeight = 0.0f, float backHeight = 0.0f ) : System
game Project2Game
position System.Vector3
xScale float
zScale float
frontHeight float
backHeight float
Résultat System

GeneratePhysicsDescription() protected méthode

protected GeneratePhysicsDescription ( ) : RigidBody
Résultat RigidBody

GenerateTerrainData() protected méthode

protected GenerateTerrainData ( ) : ].float[
Résultat ].float[