Click or drag to resize
Ab4d.SharpEngine logo

HeightMapSurfaceNodeCreateHeightMapSurfaceMesh Method


Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public static StandardMesh CreateHeightMapSurfaceMesh(
	Vector3 centerPosition,
	Vector3 size,
	float[,] heightData,
	bool useHeightValuesAsTextureCoordinates,
	float minTextureHeight,
	float maxTextureHeight,
	string? name = null
)

Parameters

centerPosition  Vector3
 
size  Vector3
 
heightData  Single
 
useHeightValuesAsTextureCoordinates  Boolean
 
minTextureHeight  Single
 
maxTextureHeight  Single
 
name  String  (Optional)
 

Return Value

StandardMesh
See Also