Click or drag to resize
Ab4d.SharpEngine logo

HeightMapSurfaceNode(Vector3, Vector3, Single, Boolean, Single, Single, String) Constructor

Initializes a new instance of the HeightMapSurfaceNode class

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public HeightMapSurfaceNode(
	Vector3 centerPosition,
	Vector3 size,
	float[,]? heightData = null,
	bool useHeightValuesAsTextureCoordinates = false,
	float minTextureHeight = NaNf,
	float maxTextureHeight = NaNf,
	string? name = null
)

Parameters

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