C# 클래스 TerrainGeneration.WindErosionParticle

파일 보기 프로젝트 열기: geofftnz/TestBench1

공개 프로퍼티들

프로퍼티 타입 설명
CarryingAmount float
CarryingCapacity float
Height float
Position Vector2
Velocity float

공개 메소드들

메소드 설명
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

메소드 상세

DepositAmount() 공개 메소드

Returns the amount of loose material to deposit on the terrain.
public DepositAmount ( float sheddingRate ) : float
sheddingRate float
리턴 float

Reset() 공개 메소드

public Reset ( int x, int y ) : void
x int
y int
리턴 void

WindErosionParticle() 공개 메소드

public WindErosionParticle ( ) : System
리턴 System

WindErosionParticle() 공개 메소드

public WindErosionParticle ( int x, int y ) : System
x int
y int
리턴 System

프로퍼티 상세

CarryingAmount 공개적으로 프로퍼티

Amount of material this particle is carrying.
public float CarryingAmount
리턴 float

CarryingCapacity 공개적으로 프로퍼티

Amount of material this particle can currently carry. Depends on velocity.
public float CarryingCapacity
리턴 float

Height 공개적으로 프로퍼티

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
리턴 float

Position 공개적으로 프로퍼티

Position of the particle on the heightfield
public Vector2 Position
리턴 Vector2

Velocity 공개적으로 프로퍼티

Velocity of material in particle, not velocity of particle across terrain.
public float Velocity
리턴 float