public class Terrain
extends Object
Modifier and Type | Method and Description |
---|---|
void |
areaIncrementAreaToRender(int playerID)
Increments the area to render.
|
void |
brushCircularSize(float value)
Sets the circular brush size.
|
void |
brushSize(int size)
Sets brush size.
|
void |
rotateWaterLeft(int keyState)
Indicates that the rotate water left button has gone up/down.
|
void |
rotateWaterRight(int keyState)
Indicates that the rotate water right button has gone up/down.
|
void |
terrainAdjustGlobalHeight(float meters)
Adjusts (raise/lower) the terrain height by the specified meters.
|
void |
terrainAmbient(int r,
int g,
int b)
Set terrain ambient reflectivity to the given RGB (0-255)
|
void |
terrainFilter()
Filters the entire terrain.
|
void |
terrainFilterArea(int X1,
int Y1,
int X2,
int Y2)
Filters a sub-area of the terrain.
|
void |
terrainFlatten()
Flattens the entire terrain.
|
void |
terrainFlattenArea(int X1,
int Y1,
int X2,
int Y2)
Flattens a sub-area of the terrain.
|
void |
terrainGetAmbient()
Get terrain ambient reflectivity.
|
void |
terrainPaint()
Paint whole terrain with given texture.
|
void |
terrainPaintMix()
Paint whole terrain with given mix name.
|
void |
terrainPasteBufferLoad(string filename)
Loads a terrain paste buffer.
|
void |
terrainPasteBufferSave(string filename)
Saves the current terrain paste buffer.
|
void |
terrainResizeSubtype(int delta)
Resize current terrain subtype.
|
void |
terrainSetSubtype(int type)
Sets the terrain subtype to paint.
|
void |
terrainSetType(int type)
Sets the terrain type to paint.
|
void |
uiChangeBrushSize(float param1,
float param2,
float param3,
float param4)
Changes the size of the current brush.
|
void |
uiChangeBrushType(string name)
Changes the brush to the named type.
|
void |
uiChangeElevationToSample(int keyState)
Indicates that the change elevation to sample button has gone up/down.
|
void |
uiCoverTerrainWithWater(float waterHeight,
float depth,
string waterName)
Flattens terrain and paints water over the entire map.
|
void |
uiDecreaseTextureDensity(int keyState)
Indicates that the decrease texture density button has gone up/down.
|
void |
uiFilterTerrainSelection()
Filter the current terrain selection.
|
void |
uiFlattenTerrainSelection()
F latte n the current terrain selection.
|
void |
uiIncreaseTextureDensity(int keyState)
Indicates that the increase texture density button has gone up/down.
|
void |
uiLowerElevation(int keyState)
Indicates that the l o we r elevation button has gone up.
|
void |
uiLowerTerrainSelection(int keyState)
Indicates that the lower terrain selection button has gone up/down.
|
void |
uiLowerWater(int keyState)
Indicates that the lower water button has gone up/down.
|
void |
uiPaint(bool paint,
bool absolute)
Indicates that the paint button has gone up/down.
|
void |
uiPaintCliff(int keyState)
Indicates that the paint cliff button has gone up/down.
|
void |
uiPaintTerrainOverlay(int keyState)
Indicates that the paint terrain overlay button has gone up/down.
|
void |
uiPaintTerrainToSample(int keyState)
Indicates that the sample terrain button has gone up/down.
|
void |
uiPaintWater(int keyState)
Indicates that the paint water button has gone up/down.
|
void |
uiPaintWaterArea(int keyState)
Painting water area.
|
void |
uiPaintWaterObjects()
Paint objects on the currently selected water.
|
void |
uiRaiseElevation(int keyState)
Indicates that the raise elevation button has gone up.
|
void |
uiRaiseTerrainSelection(int keyState)
Indicates that the raise terrain selection button has gone up/down.
|
void |
uiRaiseWater(int keyState)
Indicates that the raise water button has gone up/down.
|
void |
uiRemoveTerrainOverlay()
Removes the painted terrain overlay at the given mouse position.
|
void |
uiRoughen(int keyState)
Indicates that the roughen button has gone up/down.
|
void |
uiSampleCliffElevationAtPointer()
Samples C lift elevation height at pointer.
|
void |
uiSampleElevationAtPointer()
Samples elevation height at pointer.
|
void |
uiSampleTerrainAtPointer()
Samples terrain type at pointer.
|
void |
uiScrollBrushSize()
Increment the size of the current brush up/down.
|
void |
uiSetBrushType(string name,
float param1,
float param2,
float param3,
float param4)
Makes the current brush based on the name and parameters.
|
void |
uiSetCliffType(string cliffName)
Sets the cliff type by name.
|
void |
uiSetCliffTypeNum(long cliffType)
Sets the cliff type by index.
|
void |
uiSetForestJype(long forestType)
Sets the forest type by index.
|
void |
uiSetForestType(string forestName)
Sets the forest type by name.
|
void |
uiSetTerrainOverlayColor(float r,
float g,
float b)
Sets the terrain overlay color to the given (R,G,B) color.
|
void |
uiSetWaterType(string waterName)
Sets the water type by name.
|
void |
uiSetWaterTypeNum(long waterType)
Sets the water type by index.
|
void |
uiSmooth(int keyState)
Indicates that the smooth button has gone up.
|
void |
uiTerrainSelection(int keyState)
Indicates that the terrain selection button has gone up/down.
|
void |
uiToggleBrushMask()
This is not what you are looking for.
|
public void areaIncrementAreaToRender(int playerID)
public void terrainFilter()
public void terrainFilterArea(int X1, int Y1, int X2, int Y2)
public void terrainFlatten()
public void terrainFlattenArea(int X1, int Y1, int X2, int Y2)
public void terrainSetType(int type)
public void terrainSetSubtype(int type)
public void terrainPaint()
public void terrainPaintMix()
public void terrainAmbient(int r, int g, int b)
public void terrainGetAmbient()
public void terrainResizeSubtype(int delta)
public void terrainAdjustGlobalHeight(float meters)
public void terrainPasteBufferSave(string filename)
public void terrainPasteBufferLoad(string filename)
public void uiIncreaseTextureDensity(int keyState)
public void uiDecreaseTextureDensity(int keyState)
public void uiChangeElevationToSample(int keyState)
public void uiSampleElevationAtPointer()
public void uiSampleCliffElevationAtPointer()
public void uiPaintTerrainToSample(int keyState)
public void uiSampleTerrainAtPointer()
public void uiRaiseElevation(int keyState)
public void uiLowerElevation(int keyState)
public void uiSmooth(int keyState)
public void uiPaintWater(int keyState)
public void uiPaintWaterArea(int keyState)
public void uiPaintCliff(int keyState)
public void uiTerrainSelection(int keyState)
public void uiRaiseTerrainSelection(int keyState)
public void uiLowerTerrainSelection(int keyState)
public void uiFlattenTerrainSelection()
public void uiFilterTerrainSelection()
public void uiRoughen(int keyState)
public void uiPaint(bool paint, bool absolute)
public void uiPaintTerrainOverlay(int keyState)
public void uiRemoveTerrainOverlay()
public void uiSetTerrainOverlayColor(float r, float g, float b)
public void uiCoverTerrainWithWater(float waterHeight, float depth, string waterName)
public void uiSetCliffType(string cliffName)
public void uiSetCliffTypeNum(long cliffType)
public void uiSetWaterType(string waterName)
public void uiSetWaterTypeNum(long waterType)
public void uiSetForestType(string forestName)
public void uiSetForestJype(long forestType)
public void uiPaintWaterObjects()
public void uiRaiseWater(int keyState)
public void uiLowerWater(int keyState)
public void rotateWaterLeft(int keyState)
public void rotateWaterRight(int keyState)
public void brushSize(int size)
public void brushCircularSize(float value)
public void uiSetBrushType(string name, float param1, float param2, float param3, float param4)
public void uiChangeBrushType(string name)
public void uiChangeBrushSize(float param1, float param2, float param3, float param4)
public void uiScrollBrushSize()
public void uiToggleBrushMask()