Sets the terrain height at the position [x,z] to the value newHeight.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public float SetHeightAt(
	int x,
	int z,
	float newHeight,
	int radius
)

Parameters

x
Type: System..::.Int32
The X coordinate.
z
Type: System..::.Int32
The Z coordinate.
newHeight
Type: System..::.Single
Terrain height at the given point.
radius
Type: System..::.Int32
Radius of the terrain area (fields) to get the height changed.

Return Value

Terrain height at the given point.

See Also