Creates a new random terrain.

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

Syntax

C#
public XTerrain AddRandomTerrain(
	int width,
	int length,
	Bitmap texture
)

Parameters

width
Type: System..::.Int32
Width of the terrain to be created.
length
Type: System..::.Int32
Length of the terrain to be created.
texture
Type: System.Drawing..::.Bitmap
The Bitmap texture bitmap of the terrain.

Return Value

Returns newly created XTerrain terrain.

See Also