C# 클래스 TerrainGeneration.TerrainGenPass2

상속: GameComponentBase, ITerrainGen
파일 보기 프로젝트 열기: geofftnz/TestBench1

공개 프로퍼티들

프로퍼티 타입 설명
parameters Parameters

공개 메소드들

메소드 설명
AddPowder ( float amount, Vector3 direction ) : void
AddPowderRandom ( int numSamples, float amount ) : void
CalculateNormals ( ) : void
CompactPowder ( float minDepth, float amount, float invDensityRatio ) : void
CompactPowderRandom ( int numSamples, float minDepth, float amount, float invDensityRatio ) : void
InitFromPass1 ( TerrainGen pass1 ) : void
Load ( string filename ) : void
ModifyTerrain ( ) : void
Save ( string filename ) : void
SlumpPowderRandom ( int numIterations, float slopeThreshold, float depthThreshold, float amount ) : void
TerrainGenPass2 ( int width, int height ) : System

비공개 메소드들

메소드 설명
AddDiffMapToPowder ( float diffmap ) : void
ClearDiffMap1 ( ) : void
ClearDiffMap2 ( ) : void
ClearTempDiffMap ( ) : void
CombineDiffMapsForDirection ( int xofs, int yofs ) : void
SlumpPowder ( float slopeThreshold, float depthThreshold, float amount ) : void
SlumpPowderOneDirection ( float slopeThreshold, float depthThreshold, float amount, int xofs, int yofs ) : void

Calculates how much material would slump down to the current location from the point at the given offset. This is written into the first temporary buffer.

메소드 상세

AddPowder() 공개 메소드

public AddPowder ( float amount, Vector3 direction ) : void
amount float
direction Vector3
리턴 void

AddPowderRandom() 공개 메소드

public AddPowderRandom ( int numSamples, float amount ) : void
numSamples int
amount float
리턴 void

CalculateNormals() 공개 메소드

public CalculateNormals ( ) : void
리턴 void

CompactPowder() 공개 메소드

public CompactPowder ( float minDepth, float amount, float invDensityRatio ) : void
minDepth float
amount float
invDensityRatio float
리턴 void

CompactPowderRandom() 공개 메소드

public CompactPowderRandom ( int numSamples, float minDepth, float amount, float invDensityRatio ) : void
numSamples int
minDepth float
amount float
invDensityRatio float
리턴 void

InitFromPass1() 공개 메소드

public InitFromPass1 ( TerrainGen pass1 ) : void
pass1 TerrainGen
리턴 void

Load() 공개 메소드

public Load ( string filename ) : void
filename string
리턴 void

ModifyTerrain() 공개 메소드

public ModifyTerrain ( ) : void
리턴 void

Save() 공개 메소드

public Save ( string filename ) : void
filename string
리턴 void

SlumpPowderRandom() 공개 메소드

public SlumpPowderRandom ( int numIterations, float slopeThreshold, float depthThreshold, float amount ) : void
numIterations int
slopeThreshold float
depthThreshold float
amount float
리턴 void

TerrainGenPass2() 공개 메소드

public TerrainGenPass2 ( int width, int height ) : System
width int
height int
리턴 System

프로퍼티 상세

parameters 공개적으로 프로퍼티

public Parameters parameters
리턴 Parameters