Click or drag to resize
Ab4d.SharpEngine logo

HeightMapContoursNode(Vector3, Vector3, Single, Int32, Int32, Single, Boolean, String) Constructor

Creates a new HeightMapContoursNode

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public HeightMapContoursNode(
	Vector3 centerPosition,
	Vector3 size,
	float[,] heightData,
	int numContourLines = 10,
	int majorLinesFrequency = 0,
	float verticalOffset = 0,001f,
	bool combineContourLines = false,
	string? name = null
)

Parameters

centerPosition  Vector3
centerPosition as Vector3
size  Vector3
size as Vector3
heightData  Single
2D array defining the height data.
numContourLines  Int32  (Optional)
Number of contour lines to generate from the height data when contour line heights (the ContourHeights property) are not specified. Default value is 10.
majorLinesFrequency  Int32  (Optional)
The frequency of major contour lines, in terms of minor contour lines (i.e., how many minor lines until next major one). When set to 0 or less, the major contour lines are not drawn and all contour lines are minor lines. Default value is 0.
verticalOffset  Single  (Optional)
Offset applied to the contour lines in the vertical (Y) direction, to avoid strict overlap with surface generated from the same height data. Default value is 0.001.
combineContourLines  Boolean  (Optional)
name  String  (Optional)
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.SceneNodes.HeightMapContoursNode.#ctor(System.Numerics.Vector3,System.Numerics.Vector3,System.Single[0:,0:],System.Int32,System.Int32,System.Single,System.Boolean,System.String)"]

See Also