C# Class TerrainGeneration.WindErosionParticle

Afficher le fichier Open project: geofftnz/TestBench1

Méthodes publiques

Свойство Type Description
CarryingAmount float
CarryingCapacity float
Height float
Position Vector2
Velocity float

Méthodes publiques

Méthode Description
DepositAmount ( float sheddingRate ) : float

Returns the amount of loose material to deposit on the terrain.

Reset ( int x, int y ) : void
WindErosionParticle ( ) : System
WindErosionParticle ( int x, int y ) : System

Method Details

DepositAmount() public méthode

Returns the amount of loose material to deposit on the terrain.
public DepositAmount ( float sheddingRate ) : float
sheddingRate float
Résultat float

Reset() public méthode

public Reset ( int x, int y ) : void
x int
y int
Résultat void

WindErosionParticle() public méthode

public WindErosionParticle ( ) : System
Résultat System

WindErosionParticle() public méthode

public WindErosionParticle ( int x, int y ) : System
x int
y int
Résultat System

Property Details

CarryingAmount public_oe property

Amount of material this particle is carrying.
public float CarryingAmount
Résultat float

CarryingCapacity public_oe property

Amount of material this particle can currently carry. Depends on velocity.
public float CarryingCapacity
Résultat float

Height public_oe property

Height of particle. This should always be above the surface of the ground. As a particle is forced upwards, it increases in velocity. Particle height decays exponentially and velocity with it.
public float Height
Résultat float

Position public_oe property

Position of the particle on the heightfield
public Vector2 Position
Résultat Vector2

Velocity public_oe property

Velocity of material in particle, not velocity of particle across terrain.
public float Velocity
Résultat float