Click or drag to resize
Ab4d.SharpEngine logo

HeightMapWireframeNode Class

HeightMapWireframeNode class is used to render the wireframe that is defined by the HeightMapSurfaceNode.
Inheritance Hierarchy

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public class HeightMapWireframeNode : LineBaseNode

The HeightMapWireframeNode type exposes the following members.

Constructors
 NameDescription
Public methodHeightMapWireframeNode(String)Initializes a new instance of the HeightMapWireframeNode class
Public methodHeightMapWireframeNode(HeightMapSurfaceNode, String) Creates a new HeightMapWireframeNode that will use the CenterPosition, Size and HeightData values from the parent HeightMapSurfaceNode.
Public methodHeightMapWireframeNode(Vector3, Vector3, Single, Int32, Int32, String)Initializes a new instance of the HeightMapWireframeNode class
Top
Properties
 NameDescription
Public propertyCenterPosition Center position of the height map surface Default value is (0, 0, 0).
Public propertyHeightData 2D array defining the height data. The dimensions of array also determine the size of the mesh (scaled by the X and Z components of the Size property). If no height data is provided, a rectangle is generated. Default value is null (no height data available).
Public propertyHorizontalLineFrequency The frequency of horizontal lines in the generated wireframe/grid (i.e., the number of data points / cells until next line is drawn). Default value is 1.
Public propertyParentSurfaceNode 
Public propertySize Size of the surface. X and Z components scale the 2D shape's width and height, while Y component scales the height values. Default value is (1, 1, 1)
Public propertyVerticalLineFrequency The frequency of vertical lines in the generated wireframe(i.e., the number of data points / cells until next line is drawn). Default value is 1.
Public propertyWireframeOffset Offset applied to the wireframe in the vertical (Y) direction, to avoid strict overlap with surface generated from the same height data. Default value is 0.001.
Top
Methods
See Also