CreateFlatSurface


Creates a uniform surface.

Syntax

C++
C#
Python
 
def CreateFlatSurface(
	inWidth: int,
	inHeight: int,
	outSurface: Surface,
	/,
	*,
	inPointType: PlainType = PlainType.Int16,
	inXOffset: float = 0.0,
	inXScale: float = 1.0,
	inYOffset: float = 0.0,
	inYScale: float = 1.0,
	inZOffset: float = 0.0,
	inZScale: float = 1.0,
	inZ: float | None = 0.0
)
-> None

Parameters

Name Type Range Default Description
Input value inWidth int 1 - 65535 Width of the created surface
Input value inHeight int 1 - 65535 Height of the created surface
Input value inPointType PlainType PlainType.Int16 Type of single point Z coordinate
Input value inXOffset float 0.0
Input value inXScale float 0.001D - 1.0
Input value inYOffset float 0.0
Input value inYScale float 0.001D - 1.0
Input value inZOffset float 0.0
Input value inZScale float 0.001D - 1.0
Input value inZ float | None 0.0 Z coordinate of all points of the created surface
Output value outSurface Surface