 |
HeightMapContoursNode(Vector3, Vector3, Single, Single, Int32, Single, Boolean, String) Constructor |
Creates a new HeightMapContoursNode
Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic HeightMapContoursNode(
Vector3 centerPosition,
Vector3 size,
float[,] heightData,
float[] contourHeights,
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.
- contourHeights Single
- Array of heights for which contour lines should be generated. When null (the default), NumContourLines contour lines are be generated in the height range spanned by the height map data, with N being controlled by the NumContourLines property.
- 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.Single[],System.Int32,System.Single,System.Boolean,System.String)"]
See Also