 |
HeightMapContoursNodeFlattenContours Method |
Sets the Y-coordinate of all contour line positions to a specified fixed height.
To disable flatting, set fixedHeightValue to float.NaN.
Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic void FlattenContours(
float fixedHeightValue
)
Parameters
- fixedHeightValue Single
- The Y-coordinate value to assign to all contour line positions. Use float.NaN to disable flatting contour lines.
RemarksUse this method to flatten all major and minor contour lines to a single elevation,
which can be useful for generating 2D projections or standardizing contour heights.
See Also