 |
HeightMapContoursNode(HeightMapSurfaceNode, Int32, Int32, Single, Boolean, String) Constructor |
Creates a new HeightMapContoursNode that will use the CenterPosition, Size and HeightData values
from the parent HeightMapSurfaceNode.
Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic HeightMapContoursNode(
HeightMapSurfaceNode parentSurfaceNode,
int numContourLines = 10,
int majorLinesFrequency = 0,
float verticalOffset = 0,001f,
bool combineContourLines = false,
string? name = null
)
Parameters
- parentSurfaceNode HeightMapSurfaceNode
- Parent HeightMapSurfaceNode instance.
- 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)
- optional name
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.SceneNodes.HeightMapContoursNode.#ctor(Ab4d.SharpEngine.SceneNodes.HeightMapSurfaceNode,System.Int32,System.Int32,System.Single,System.Boolean,System.String)"]
See Also