Property | Type | Description | |
---|---|---|---|
parameters | Parameters |
Method | Description | |
---|---|---|
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 ( |
||
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 |
Method | Description | |
---|---|---|
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.
|
public AddPowder ( float amount, Vector3 direction ) : void | ||
amount | float | |
direction | Vector3 | |
return | void |
public AddPowderRandom ( int numSamples, float amount ) : void | ||
numSamples | int | |
amount | float | |
return | void |
public CompactPowder ( float minDepth, float amount, float invDensityRatio ) : void | ||
minDepth | float | |
amount | float | |
invDensityRatio | float | |
return | void |
public CompactPowderRandom ( int numSamples, float minDepth, float amount, float invDensityRatio ) : void | ||
numSamples | int | |
minDepth | float | |
amount | float | |
invDensityRatio | float | |
return | void |
public InitFromPass1 ( |
||
pass1 | ||
return | void |
public SlumpPowderRandom ( int numIterations, float slopeThreshold, float depthThreshold, float amount ) : void | ||
numIterations | int | |
slopeThreshold | float | |
depthThreshold | float | |
amount | float | |
return | void |
public TerrainGenPass2 ( int width, int height ) : System | ||
width | int | |
height | int | |
return | System |